How to find the solution of a given optimization problem?

1 次查看(过去 30 天)
How to find the minmax of a function
ex:
f= min max f(p,n) such that 0<p<12 and 0<n<5,
lets say,
f= min max 1/2*log2(P/(alpha*P+err*(nvar+N)) where err and alpha are the constants
equation satisfies the given constraints as shown above.
Can I use fmincon of -f and then do fmincon f to get the answer? Is there any possible way to write a single line command to get the result?

回答(1 个)

Pratyush Roy
Pratyush Roy 2020-12-29
Hi,
This link might be helpful.
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Solver Outputs and Iterative Display 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by