Solved by albanD in post #2 
              
              
                Hi, 
If you have a single parameter, you can pass it to the optimizer in a list that contains a single element (this single parameter).