View the model Download the model
Solve an NLP that uses a user-defined function @f(a,b) to compute the objective function value. minimize x * @f( sin(pi*x), cos(pi*x)) 0 <= x <= 10