Solving simultatious equations with inequalities

Hi all,
I have a set of three simultaneous that include inequalities that I need a solution for.
The equations are as follows:
Constant1 >= (a^4-b^4)/12
Constant2 >= a^2-b^2
a-b >= 10
When an equality is used in lieu of the inequalities, equations one and two do not intersect, and thus there are no real soltuions. I am aware that there is likely an infinite number of solutions to the above equations, but what I am looking to computate is the value of a and b that minimises all 3 equations, i.e. as close to constant1, 2 and 10 as possible.
If any could direct me to a possible solution to this question that would be great. I am new to matlab and unfamiliar with how to solve a problem like this.

 採用された回答

Jon
Jon 2020 年 10 月 5 日

0 投票

If you have the optimization toolbox you can use fmincon for this. Please type doc fmincon on the command line for further details

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

質問済み:

2020 年 10 月 5 日

回答済み:

Jon
2020 年 10 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by