No matching function for overload function 'nlpsol'. Possible Matlab usages are:
nlpsol(char,char,struct:SX,Dict)
nlpsol(char,char,struct:MX,Dict)
nlpsol(char,char,Function,Dict)
nlpsol(char,char,char,Dict)
nlpsol(char,char,Compiler,Dict)
You have: char, char, struct, struct
I set the options as follows :
% NLP solver options
opts = struct;
% Mark the parameters amongst the constraints (see sIPOPT documentation)
con_integer_md = struct;
con_integer_md.sens_init_constr = [0,0,1,2];
opts.con_integer_md = con_integer_md;
% Enable sensitivities
opts.run_sens = 'yes';
opts.n_sens_steps = 1;
Can you help me to fix this ?
Many thanks in advance.
Best regards,
Eka
Joel Andersson
unread,
Mar 30, 2016, 2:27:37 PM3/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CasADi
Dear Eka,
We do not actively support sIPOPT in the interface and I believe the prebuilt binaries do not contain support for them. I could be wrong about that.
About your error, it looks like you either got one of the argument wrong or a missing typemap. Try adding them one at a time to see what causes the missing overload.
Joel
Eka Suwartadi
unread,
Mar 30, 2016, 3:30:50 PM3/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CasADi
On Wednesday, March 30, 2016 at 8:27:37 PM UTC+2, Joel Andersson wrote:
About your error, it looks like you either got one of the argument wrong or a missing typemap. Try adding them one at a time to see what causes the missing overload.