Optimization problem with a function of 2 parameters
显示 更早的评论
I have a function with h, t parameters. And i want to find the values of the parameters that minimise the function. My function is quadratic and i have inequalities for the 2 parameters. h=[1.1;inf]; and t=[1000;10000];
I am trying to use the fmincon function as i have constrained nonlinear multivariable function but i dont find an example of a function with 2 parameters. Can you write an example of fmincon function for a function with 2 parameters? Can you tell me how can i find the 'x0' value?
4 个评论
Torsten
2019-5-9
All the examples given here
are examples with two parameters.
Stathis Kritikos
2019-5-9
Torsten
2019-5-9
Set h = x(1) and t = x(2).
Stathis Kritikos
2019-5-10
编辑:Stathis Kritikos
2019-5-10
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Quadratic Programming and Cone Programming 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!