Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c=[0.9,0.25,0.,1.25,4.5,0]
- AUB=[[0.99,0.001,0.043,0,0,0.033],[0,0.001,0.01,0.7,0,0.0195],
- [0,0,0,0,0.99,0.006]]
- AEQ=[[0.99,0.001,0.043,0,0,0.0315],[0,0.001,0.001,0.7,0,0.016],
- [0,0,0,0,0.99,0.004]]
- BUB=[3.2,1.85,0.5]
- BEQ=[2.9,1.5,0.35]
- res=linprog(c,A_ub=AUB,b_ub=BUB,A_eq=AEQ,b_eq=BEQ,options={"disp":True})
- res=linprog(c,A_eq=AEQ,b_eq=BEQ,options={"disp":True})
Add Comment
Please, Sign In to add comment