Skip to content

Commit

Permalink
Fix imports in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nhuet authored and g-poveda committed Sep 17, 2024
1 parent 19fb3bd commit e78275b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/knapsack/knapsack_multidimensional.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
MethodAggregating,
)
from discrete_optimization.generic_tools.lns_cp import LNS_CP
from discrete_optimization.generic_tools.lns_mip import TrivialInitialSolution
from discrete_optimization.generic_tools.lns_tools import TrivialInitialSolution
from discrete_optimization.generic_tools.ls.local_search import (
ModeMutation,
RestartHandlerLimit,
Expand Down
3 changes: 2 additions & 1 deletion examples/pickup_vrp/linear_flow_solver_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

import matplotlib.pyplot as plt

from discrete_optimization.pickup_vrp.builders.instance_builders import (
create_ortools_example,
)
Expand All @@ -10,7 +12,6 @@
from discrete_optimization.pickup_vrp.solver.lp_solver import (
LinearFlowSolver,
ParametersMilp,
plt,
)

try:
Expand Down

0 comments on commit e78275b

Please sign in to comment.