Re: Constraints function for nonlinear program
- From: "John D'Errico" <woodchips@xxxxxxxxxxxxxxxx>
- Date: Mon, 31 Mar 2008 11:50:02 +0000 (UTC)
"C K" <angrypeng@xxxxxxxxx> wrote in message
<fsqana$426$1@xxxxxxxxxxxxxxxxxx>...
John,
Thank you very much for your answer!
You are right that using bound would be a very good idea.
However, I have omitted to say that constraints inequalities
will be added at each program's itteration.
i.e. consider the program running in an endless loop and the
fmincon to be called with a new constraints set.
You can still append new rows to an array
of linear inequality constraints. All this takes
is a concatenation.
Unless some of these constraints are nonlinear
inequalities, there is no reason to implement
them in a function.
John
(If you had nonlinear inequalities and absolutely
had to expand the set of nonlinear inequality
constraints dynamically, then you could do so
by passing in a cell array of anonymous functions.)
.
- References:
- Prev by Date: solving ode with smaller step
- Next by Date: How to trigger the OK bottom of a GUI Interface of the running external program from matlab
- Previous by thread: Re: Constraints function for nonlinear program
- Next by thread: Retrieving final states of data store blocks
- Index(es):
Relevant Pages
|