how can share a same function to objective and constraint in OPTI

74 views
Skip to first unread message

zemin feng

unread,
May 10, 2019, 10:32:28 AM5/10/19
to OPTI Toolbox Forum
Hi

I need to solve a large scale NLP optimization. So how can I use a same function calculate objective and constraint simultaneously during iteration ?
For example:

[y, c, ceq] = fun(x)

this function can give objective and constraints at each iteration.

Zemin
Reply all
Reply to author
Forward
0 new messages