gamultiobj optimization with nonlinear constraints bigger than

2 ビュー (過去 30 日間)
dralp
dralp 2018 年 3 月 19 日
編集済み: dralp 2018 年 3 月 19 日
I know nonlinear inequality constraints have the form c(x) ≤ 0. Which means they optimize samller (or equal) values.
I'm optimizing a multi-objective function, where some constraints are required to be bigger (or between) than certain values, rather than smaller.
Is there a way to do it?

採用された回答

Walter Roberson
Walter Roberson 2018 年 3 月 19 日
function [c, ceq] = nonlcon(x)
c = [x(1), x(2), -x(3), -x(4)];
ceq = [];
The above code implements x(1) <= 0, x(2) <= 0, x(3) >= 0, x(4) >= 0
To implement P <= x(1) <= Q you would use
[P - x(1), x(1) - Q]
  1 件のコメント
dralp
dralp 2018 年 3 月 19 日
編集済み: dralp 2018 年 3 月 19 日
Thanks a lot

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultiobjective Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by