Dear Joris,
thanks, now it works!
With this options:
opts_worhp = {}
opts_worhp['worhp.MaxIter'] = 10
opts_worhp['worhp.UserHM'] = False
opts_worhp['worhp.FidifHM'] = False
opts_worhp['worhp.BFGSmethod'] = 2
opts_worhp['worhp.Timeout'] = 60
solver = nlpsol('solver', 'worhp', nlp_prob, opts_worhp)
This is the output or WORHP 1.12
-------------------------------------------------------
This is WORHP 1.12-1, the European NLP-solver.
Use of WORHP is subject to terms and conditions.
Visit
http://www.worhp.de for more information.
-------------------------------------------------------
Total number of variables ........................ 367
fixed variables 36
variables with lower bound only 0
variables with lower and upper bound 149
variables with upper bound only 0
Total number of box constraints .................. 334
Total number of other constraints ................ 274
equality constraints 274
inequality constraints with lower bound only 0
inequality constraints with lower and upper bound 0
inequality constraints with upper bound only 0
Gradient (user) 367/367 = 100.000%
Jacobian (user) 670/100558 = 0.666%
Block BFGS with intersections (1-3)
Algorithm Sequential Quadratic Programming
NLP MaxIter 10 Line Search Method Filter
QP MaxIter 500
LA solver MA97 (tol 1.0E-09, ref 10, ord METIS/AMD, scl none)
Tolerances:
Optimality (sKKT) 1.00E-06 (1.0E-03) IP ComTol 2.00E-07
Feasibility 1.00E-06 (1.0E-03) IP ResTol 4.00E-08
Complementarity 1.00E-06
Timeout 60.000 seconds
ITER OBJ CON OPTI/COMPL FLAGS ALPHA |DX| REL PEN REG TIME
[ 0| 4] +2.29053230E-001 2.76254591E-002 6.57310466E-002 so Bin 0.000E+000 3.85E-001 - - - 2.72E+000
[ 1| 2] +2.14317440E-001 2.37232105E-002 1.15159244E-002 sc Bin 1.000E+000 3.84E-001 0.85 - - 4.22E+000
[ 2| 3] +1.86686700E-001 1.41826062E-002 1.53575719E-002 so Bin 1.000E+000 1.13E+000 0.52 - - 5.64E+000
[ 3| 3] +1.67744423E-001 2.80021126E-003 1.74884458E-002 so Bin 1.000E+000 1.36E+000 0.14 - - 7.14E+000
[ 4| 10] +1.64495129E-001 7.14022537E-005 4.13698163E-004 so Baa 1.000E+000 3.07E-001 - - - 8.56E+000
[ 5| 2] +1.63509709E-001 2.25582490E-004 8.89790722E-004 so Baa 1.000E+000 3.52E-001 - - - 1.00E+001
[ 6| 7] +1.60844987E-001 9.68700470E-004 5.96488522E-003 so Ban 1.000E+000 9.79E-001 0.00 - - 1.15E+001
[ 7| 11] +1.52977802E-001 1.88273399E-003 1.34318522E-002 so Bin 1.000E+000 1.66E+000 0.00 - - 1.30E+001
[ 8| 11] +1.48499503E-001 8.30618357E-004 2.17588854E-002 so Ban 1.000E+000 1.04E+000 0.00 - - 1.44E+001
[ 9| 9] +1.43855667E-001 6.09263493E-004 2.07500916E-002 so Ban 1.000E+000 1.06E+000 0.00 - - 1.58E+001
ITER OBJ CON OPTI/COMPL FLAGS ALPHA |DX| REL PEN REG TIME
[ 10| 11] +1.39370740E-001 4.03624855E-004 2.57748984E-003 so Ban 1.000E+000 1.39E+000 0.00 - - 1.72E+001
Final values after iteration 4:
Final objective value ............. 1.6449512859E-001
Final constraint violation ........ 7.1402253656E-005
Final complementarity ............. 3.5433133675E-005 (3.5433133675E-005)
Final KKT conditions .............. 4.1369816298E-004 (3.8390942757E-003)
Terminating: Maximum number of iterations reached.
Successful termination: Acceptable Solution Found in previous iteration.
t_proc [s] t_wall [s] n_eval
nlp_f 1.45 1.45 11
nlp_g 1.49 1.48 11
nlp_grad_f 5.86 5.86 12
nlp_jac_g 8.11 8.11 12
solver 17.3 17.3 1
Can I use this debug release instead of the 3.4.1 also with other NLP solvers, or is better to wait for an official 3.4.2 release?
Best,
Nicolò