Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

how to use two linear equality constraints

1 Ansicht (letzte 30 Tage)
Sameer
Sameer am 30 Mai 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
how can i use two (more than one for each type of constraint) for a specific function?
  4 Kommentare
Sameer
Sameer am 30 Mai 2014
im using fmincon
Roger Wohlwend
Roger Wohlwend am 30 Mai 2014
You seem to optimize a portfolio. Consider using the function portopt.

Antworten (1)

Alan Weiss
Alan Weiss am 30 Mai 2014
I don't know what kind of constraints you have, I mean, perhaps they are linear constraints, perhaps they are nonlinear constraints. In any case, you can find the instructions of how to include constraints in the documentation. And there are plenty of examples of constrainted documentation, too.
Alan Weiss
MATLAB mathematical toolbox documentation

Community Treasure Hunt

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

Start Hunting!

Translated by