Linear and Non-Linear constraint Optimization

1 visualización (últimos 30 días)
Avishek Banerjee
Avishek Banerjee el 16 de Feb. de 2019
Comentada: Anosh Mevawalla el 21 de Feb. de 2021
I have a series of linear constarints and a series of non linear constraints.
I know nonlinconstr(x) deals with the non-linear constraints [c, ceq]. However can we implement series of non linear constraints instead of just one?

Respuesta aceptada

Matt J
Matt J el 16 de Feb. de 2019
Editada: Matt J el 16 de Feb. de 2019
Yes, c and ceq can be vectors (or matrices, or arrays of any dimension...).
  2 comentarios
Matt J
Matt J el 16 de Feb. de 2019
See also this example.
Anosh Mevawalla
Anosh Mevawalla el 21 de Feb. de 2021
use the code i have provided here:
https://www.mathworks.com/matlabcentral/answers/751894-fmincon-nonlinear-constraints-not-being-optimized?s_tid=prof_contriblnk

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by