Displaying 1 result from an estimated 1 matches for "3colums".
Did you mean:
colums
2012 May 08
1
Translation of Linear minimization probelm from matlab to r
...nto 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 objective function vector (vector of 45,rows)
A = Matrix for linear inequality constraints (3colums 45 rows matrix)
b = Vector for linear inequality constraints (3 rows vector)
Aeq = Matrix for linear equality constraints (45 colums, 8 rows )
beq = Vector for linear equality constraints (8 rows vector)
lb =Vector of lower bounds (45 rows)
ub = Vector of upper bounds (45 rows)
I have trye...