I'm getting an error when I try to use the IPOPT solver.
I'm using Matlab 2012b, Yalmip R20121126, and Opti Toolbox v1.71.
options = sdpsettings('verbose',2,'warning',1,'showprogress',1,'savesolverinput',1,'savesolveroutput',1,'debug',1,'solver','ipopt');
sol = solvesdp(constraints,objective,options);
+ Solver chosen : ipopt-standard
+ Processing objective h(x)
+ Processing F(x)
+ Calling IPOPT
******************************************************************************
This program contains Ipopt, a library for large-scale nonlinear optimization.
Ipopt is released as open source code under the Eclipse Public License (EPL).
******************************************************************************
Total number of variables............................: 4107
variables with only lower bounds: 0
variables with lower and upper bounds: 1236
variables with only upper bounds: 432
Total number of equality constraints.................: 2043
Total number of inequality constraints...............: 2376
inequality constraints with only lower bounds: 0
inequality constraints with lower and upper bounds: 0
inequality constraints with only upper bounds: 2376
Number of Iterations....: 41
(scaled) (unscaled)
Objective...............: 5.9309766063880303e+001 5.9309766063880303e+001
Dual infeasibility......: 2.0014544674265570e-008 2.0014544674265570e-008
Constraint violation....: 1.0390126259363086e-014 1.0929625260391873e-014
Complementarity.........: 2.1507000281992849e-011 2.1507000281992849e-011
Overall NLP error.......: 5.6947115315881025e-009 2.0014544674265570e-008
Number of objective function evaluations = 42
Number of objective gradient evaluations = 42
Number of equality constraint evaluations = 42
Number of inequality constraint evaluations = 42
Number of equality constraint Jacobian evaluations = 42
Number of inequality constraint Jacobian evaluations = 42
Number of Lagrangian Hessian evaluations = 0
Total CPU secs in IPOPT (w/o function evaluations) = 1.936
Total CPU secs in NLP function evaluations = 9.407
EXIT: Optimal Solution Found.
Undefined function or variable 'iters'.
Error in callipopt (line 148)
solveroutput.iters = iters;
Error in solvesdp (line 337)
eval(['output = ' solver.call '(interfacedata);']);
Error in RunOptimizer (line 132)
sol = solvesdp(constraints,objective,options);