NOLPT solver error of building problem

37 views
Skip to first unread message

Weiming Zhao

unread,
Oct 1, 2018, 10:08:29 AM10/1/18
to OPTI Toolbox Forum
Hello,

I am trying to use the NOLPT solver in the OPTI toolbox. 

The error message is 

Subscript indices must either be real positive integers or logicals.

Error in genlin2nl>@(x)[prob.nljac(x);prob.A;prob.Aeq] (line 80)
        prob.nljac = @(x) [prob.nljac(x);

The variable prob.nljac is empty in my case. I am not sure how I can solve this. Is there anything I can do about this? 

Thanks.

Jonathan Currie

unread,
Nov 24, 2018, 12:06:28 AM11/24/18
to opti-tool...@googlegroups.com
Hi, very sorry for the very late reply.

Can you please post a code example so I can try debug?

Thanks,
Jonathan

--
You received this message because you are subscribed to the Google Groups "OPTI Toolbox Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opti-toolbox-fo...@googlegroups.com.
To post to this group, send email to opti-tool...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages