is the new function "optimproblem" only applicable to linear objective functions?

having issues with x^2 and cos terms in my objective function. This leads me to believe this may be due to the optimproblem function only accepting linear equations. I have seen a few references to linear problems in th eliterature but nothing that specifically limits optimproblem to linear expressions.

1 件のコメント

Torsten
Torsten 2017 年 11 月 8 日
We will have to see your code in order to comment on your question.
Best wishes
Torsten.

サインインしてコメントする。

 採用された回答

Alan Weiss
Alan Weiss 2017 年 11 月 8 日

0 投票

Indeed, the problem-based approach is currently for linear or mixed-integer linear programming problems. For nonlinear problems, see the general Optimization Problem Setup.
Alan Weiss
MATLAB mathematical toolbox documentation

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLinear Programming and Mixed-Integer Linear Programming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by