Hello everyone!
I´m trying to solve a linear optimization problem with r using the LPsolve
function and i want to set upper and lower bounds for the obejctive
function. Any idea´s on how to do this??
--
View this message in context:
http://r.789695.n4.nabble.com/Upper-an-lower-bound-in-linear-p
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
Hi there
I am new user of r, i would need some help to translate som code for vectors
in matlab to r. I have managed to translate the first 7 rows, but not the
rest. Could anyone give me any suggestions for this problem??
Matlab code:
tempo=[];
temps=[];
tempn=[];
tempao=[];
tempas=[];
tempan=[
3 matches
Mail list logo