Re: Constraints function for nonlinear program



"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.)


.



Relevant Pages

  • Re: Optimizing using KKT...
    ... The constraints are: ... us two inequalities on k1, k2 and k3 that must hold. ... inequalities, we get two inequalities in k1 and k2 alone; ... and k2 be continuous and then deal with the continuous problem. ...
    (sci.math)
  • Re: Lagrange mutlipliers and solution methods
    ... >there is no inequalities. ... where the equality constraints (a set of linear equalities) are expressed as ...
    (sci.math.num-analysis)
  • Re: How do we convert inequalities constraints using lagrange multipliers?
    ... I'm interested in solving constained-minimization problems where my ... constraints are inequalities, I want to know how to express them using ...
    (sci.math)
  • Re: maximum function
    ... I meant to satisfy as many inequalities as possible. ... equal to zero can be "perturbed" to give the same constraints ...
    (sci.math)