Skip to content

Commit

Permalink
Merge pull request #8 from AntaresSimulatorTeam/fix/use-ortools-option
Browse files Browse the repository at this point in the history
Remove option --use-ortools
  • Loading branch information
payetvin authored Dec 3, 2024
2 parents 9bdef47 + 1b5c51d commit 72be234
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/run_command_building.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ def make_command_to_run(path_where_to_find_exe, batch_name, study_path):

command_to_run = [exe_path, "-i", str(study_path)]
if batch_name == "valid-milp":
command_to_run.append('--use-ortools')
command_to_run.append('--ortools-solver=coin')
command_to_run.append('--solver=coin')

if batch_name == "valid-named-mps":
command_to_run.append('--named-mps-problems')
Expand All @@ -47,4 +46,4 @@ def run_command(command):
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=None)
process.communicate()
exit_code = process.wait()
return (exit_code == 0)
return (exit_code == 0)

0 comments on commit 72be234

Please sign in to comment.