Info

此问题已关闭。 请重新打开它进行编辑或回答。

how to use two linear equality constraints

1 次查看(过去 30 天)
Sameer
Sameer 2014-5-30
关闭: MATLAB Answer Bot 2021-8-20
how can i use two (more than one for each type of constraint) for a specific function?
  4 个评论
Roger Wohlwend
Roger Wohlwend 2014-5-30
You seem to optimize a portfolio. Consider using the function portopt.

回答(1 个)

Alan Weiss
Alan Weiss 2014-5-30
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