求助:最小值问题
求:min(200/(1.47*x1)+760/(2.11*x2)+200/(1.47*x3))s.t. X1,X2,X3大于0小于1
用fmincon怎么写啊? myfun.m
function f=myfun(x)
f=200/(1.47*x(1))+760/(2.11*x(2))+200/(1.47*x(3));
main
A=;
b=;
x0=[.1,.1,.1];
options=optimset('largescale','off');
= fmincon(@myfun,x0,A,b,[],[],[],[],[],options)
页:
[1]