Skip to content

Commit 82833d0

Browse files
committed
update
1 parent 120aad5 commit 82833d0

File tree

3 files changed

+148
-94
lines changed

3 files changed

+148
-94
lines changed

examples/mp/jupyter/efficient.ipynb

Lines changed: 146 additions & 92 deletions
Large diffs are not rendered by default.

examples/mp/modeling/nurses_multiobj.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ def build(context=None, **kwargs):
522522
# Solve the model and print solution
523523
solve(model)
524524

525-
print(model.get_solve_details())
525+
print(model.solve_details)
526526

527527
# Save the CPLEX solution as "solution.json" program output
528528
with get_environment().get_output_stream("solution.json") as fp:

examples/mp/modeling/sport_scheduling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@ def print_sports_solution(mdl):
136136
with get_environment().get_output_stream("solution.json") as fp:
137137
model.solution.export(fp, "json")
138138
else:
139-
print("Problem could not be solved: " + model.get_solve_details().get_status())
139+
print("Problem could not be solved: " + model.solve_details.get_status())

0 commit comments

Comments
 (0)