IPOPT

The COIN Ipopt solver (IPOPT) is an open-source solver for large-scale nonlinear continuous optimization. Ipopt uses an interior point method, together with a filter linear search procedure.

[Read More] [Options] [Download IPOPT]

How to use it

ampl: option solver ipopt; # change the solver
ampl: option ipopt_options 'option1=value1 option2=value2'; # specify options
ampl: solve; # solve the problem

Resources

Solver options

Full list of solver options:

More details on solver options: Features guide.

Retrieving solutions

The outcome of the last optimization is stored in the AMPL parameter solve_result_num and the relative message in solve_result.

display solve_result_num, solve_result;

IPOPT solve result codes:

          0- 99 solved: optimal for an optimization problem, feasible for a satisfaction problem
        100-199 solved? solution candidate returned but error likely
        200-299 infeasible
        300-399 unbounded
        400-499 limit
        500-999 failure, no solution returned