Added a simple example, then I got rid of everything with integers
Merge pull request #402 from AZaitzeff/optim

Added a simple example, then I got rid of everything with integers