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

We will have to see your code in order to comment on your question.
Best wishes
Torsten.

댓글을 달려면 로그인하십시오.

 채택된 답변

Alan Weiss
Alan Weiss 2017년 11월 8일
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 Exchange에서 Linear Programming and Mixed-Integer Linear Programming에 대해 자세히 알아보기

태그

질문:

2017년 11월 8일

댓글:

2017년 11월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by