equal
deleted
inserted
replaced
29 |
29 |
30 ilp.colLowerBound(x1, 0); |
30 ilp.colLowerBound(x1, 0); |
31 ilp.colLowerBound(x2, 0); |
31 ilp.colLowerBound(x2, 0); |
32 ilp.colLowerBound(x3, 0); |
32 ilp.colLowerBound(x3, 0); |
33 //Objective function |
33 //Objective function |
34 ilp.setObj(10*x1+6*x2+4*x3); |
34 ilp.obj(10*x1+6*x2+4*x3); |
35 |
35 |
36 //Call the routine of the underlying LP solver |
36 //Call the routine of the underlying LP solver |
37 ilp.solve(); |
37 ilp.solve(); |
38 |
38 |
39 //Print results |
39 //Print results |