Skip to content

Commit

Permalink
Trial to simplify solver call : omission in previous commit corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
guilpier-code committed Oct 4, 2024
1 parent 27fc92e commit b18141c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/solver/optimisation/opt_appel_solveur_lineaire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,7 @@ static SimplexResult OPT_TryToCallSimplex(const OptimizationOptions& options,
{
if (ProblemeAResoudre->ExistenceDUneSolution != SPX_ERREUR_INTERNE)
{
if (solver != nullptr)
{
ORTOOLS_LibererProbleme(solver);
}
ORTOOLS_LibererProbleme(solver);

logs.info() << " Solver: Standard resolution failed";
logs.info() << " Solver: Retry in safe mode"; // second trial w/o scaling
Expand Down

0 comments on commit b18141c

Please sign in to comment.