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.

 Respuesta aceptada

Jon
Jon el 5 de Oct. de 2020

0 votos

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

Más respuestas (0)

Preguntada:

el 5 de Oct. de 2020

Respondida:

Jon
el 5 de Oct. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by