Hi,mottelet Thanks a lot for your solution.
Actually I don't need the gradient . In that case may I provide only f? Or is g indispensable? In 'Description' of 'optim' help page, there is a explanation 'If ind=2, costf must provide f.' https://help.scilab.org/docs/5.3.3/en_US/optim.html It seem to mean when I input ind=2 optim can work without the gradient by user. If so, how do I input ind=2? Best regards. -- View this message in context: http://mailinglists.scilab.org/optim-tp4033329p4033332.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
