On Tue, May 08, 2012 at 10:21:59AM -0700, Haio wrote:
> Hi everyone, i´m a new user of R and i´m trying to translate an linear
> optimization problem from Matlab into r.
>
> The matlab code is as follow:
> options = optimset('Diagnostics','on');
>
> [x fval exitflag] = linprog(f,A,b,Aeq,beq,lb,
Hi everyone, i´m a new user of R and i´m trying to translate an linear
optimization problem from Matlab into r.
The matlab code is as follow:
options = optimset('Diagnostics','on');
[x fval exitflag] = linprog(f,A,b,Aeq,beq,lb,ub,[],options);
exitflag
fval
x=round(x);
Where:
f = Linear obj
2 matches
Mail list logo