-
Notifications
You must be signed in to change notification settings - Fork 1
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
Thermal heuristic #45
base: main
Are you sure you want to change the base?
Conversation
model_editer = ModelEditor(model("model")) | ||
|
||
expression_1 = var("x").sum() + var("y") | ||
expression_2 = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test with model_editer.variable_in_expression(param("pmax"), ["p"])
assert status == pywraplp.Solver.OPTIMAL | ||
assert resolution_step_2.solver.Objective().Value() == pytest.approx(84010) | ||
|
||
expected_output = ExpectedOutput( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Factoriser les entrées
assert status == pywraplp.Solver.OPTIMAL | ||
|
||
thermal_problem_builder.update_database_heuristic( | ||
OutputValues(resolution_step_heuristic), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sortir la récupération des données d'entrée de la fonction update
No description provided.