Reputation: 11
I'm doing an optimization problem and after give the command:
results = solver.solve(model,tee=True)
I will have all my variables solved inside the model object.
There is a way to save and load this model object?
Upvotes: 0
Views: 953
Reputation: 101
The variables will be inside your "model" object, if you have a variable called "A":
model.A.value
will give you its value (or model.A[index].value if it is indexed)
Upvotes: 1