Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job shop problem integration #303

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Job shop problem integration #303

merged 2 commits into from
Sep 27, 2024

Conversation

g-poveda
Copy link
Collaborator

-adding new problem implementation, that should evolve with more solver integration in the future.
-JSP problem is very famous and classic scheduling problem involving scheduling set of jobs on disjunctive machines.
-adding cpsat model
-adding transformation to rcpsp in utils.

Copy link
Contributor

@nhuet nhuet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a test for transform_jsp_to_rcpsp ? There is an example no automatic test.

@@ -313,6 +313,7 @@ def retrieve_solution(self, cpsolvercb: CpSolverSolutionCallback) -> RCPSPSoluti
the intermediate solution, at do format.

"""
print(cpsolvercb.ObjectiveValue())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really?

@@ -21,7 +21,7 @@ def run_mathopt_knapsack():
res = solver.solve(
time_limit=30,
mathopt_enable_output=True,
mathopt_solver_type=mathopt.SolverType.GSCIP,
mathopt_solver_type=mathopt.SolverType.CP_SAT,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel that this does not belong to this PR but whatever

@g-poveda g-poveda merged commit a5e4f54 into airbus:master Sep 27, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants