Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
leonlan committed Sep 22, 2023
1 parent 08b1c14 commit 6016f72
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from ddwp.read import read
from ddwp.sampling import SAMPLING_METHODS
from ddwp.static_solvers import default_solver
from pyvrp import CostEvaluator
from pyvrp._pyvrp import CostEvaluator


def parse_args():
Expand Down
2 changes: 1 addition & 1 deletion ddwp/static_solvers/default_solver.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ddwp.VrpInstance import VrpInstance
from pyvrp import Model, Result
from pyvrp._pyvrp import Model, Result
from pyvrp.stop import MaxRuntime

from .instance2data import instance2data
Expand Down
2 changes: 1 addition & 1 deletion ddwp/static_solvers/instance2data.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import numpy as np

from ddwp.VrpInstance import VrpInstance
from pyvrp import Client, ProblemData, VehicleType
from pyvrp._pyvrp import Client, ProblemData, VehicleType


def instance2data(instance: VrpInstance) -> ProblemData:
Expand Down
2 changes: 1 addition & 1 deletion ddwp/static_solvers/scenario_solver.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import warnings

from ddwp.VrpInstance import VrpInstance
from pyvrp import (
from pyvrp._pyvrp import (
GeneticAlgorithm,
PenaltyManager,
Population,
Expand Down
2 changes: 1 addition & 1 deletion tune/benchmark_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
raise ModuleNotFoundError(msg) from exc

import pyvrp.search
from pyvrp import (
from pyvrp._pyvrp import (
GeneticAlgorithm,
GeneticAlgorithmParams,
PenaltyManager,
Expand Down

0 comments on commit 6016f72

Please sign in to comment.