cleaning the basic_example.py code
This commit is contained in:
parent
91daa0dd0c
commit
7cc3fd335c
|
@ -43,8 +43,6 @@ model.obj = Objective(expr=sum([(model.pb[i] + model.pl[i]) * model.c[i] for i i
|
||||||
opt = SolverFactory('cplex')
|
opt = SolverFactory('cplex')
|
||||||
result = opt.solve(model)
|
result = opt.solve(model)
|
||||||
print(result)
|
print(result)
|
||||||
# model.display()
|
|
||||||
# model.pprint()
|
|
||||||
|
|
||||||
# print variables
|
# print variables
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user