matt-weinstein / adigator

Matlab Algorithmic Differentiation Toolbox
22 stars 5 forks source link

examples error #2

Closed stumarcus314 closed 4 years ago

stumarcus314 commented 5 years ago

I get the following error when I execute the examples/runAllExamples.m script:

Call to adigator: Transforming user function: 'gl2f' taking derivatives wrt: 'x'... Printing derivatives to file 'gl2f_ADiGatorGrd' Successfully transformed user function 'gl2f' to derivative function 'gl2f_ADiGatorGrd' Total file generation time: 1.7148 Call to adigator: Transforming user function: 'gl2f_ADiGatorGrd' taking derivatives wrt: 'x'... Printing derivatives to file 'gl2f_ADiGatorHes' Successfully transformed user function 'gl2f_ADiGatorGrd' to derivative function 'gl2f_ADiGatorHes' Total file generation time: 2.5664

adigatorGenFiles4Ipopt successfully generated IPOPT wrapper files;

Unrecognized method, property, or field 'ipopt' for class 'optim.options.Fsolve'.

Error in gl2main (line 49) options.ipopt.tol = sqrt(eps);

Error in runAllExamples (line 46) gl2main;

stumarcus314 commented 4 years ago

To prevent this error, change options to opts on lines 49-52 of examples\optimization\ipoptEx\gl2main.m .