Skip to content

Commit

Permalink
adding status solver function
Browse files Browse the repository at this point in the history
  • Loading branch information
g-poveda committed Feb 27, 2024
1 parent 0f503ff commit 0601051
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions discrete_optimization/rcpsp/solver/cpsat_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ def solve(
)
return self.retrieve_solution(solver=solver)

def get_status_solver(self):
return self.status_solver

def retrieve_solution(self, solver: CpSolver):
schedule = {}
modes_dict = {}
Expand Down

0 comments on commit 0601051

Please sign in to comment.