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

Fix bug for maximization problems with nonlinear objective #171

Merged
merged 6 commits into from
Oct 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove word 'FAIL' from output since it confuses ctest output parsing
  • Loading branch information
andreaslundell committed Sep 16, 2023
commit 158a13fb4553e197784ebcc054e08fca6dd227ff
4 changes: 2 additions & 2 deletions src/Tasks/TaskRepairInfeasibleDualProblem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void TaskRepairInfeasibleDualProblem::run()
env->solutionStatistics.numberOfDualRepairsSinceLastPrimalUpdate = 0;
env->tasks->setNextTask(taskIDIfTrue);
mainRepairTries++;
tmpType << "-FAIL-" << mainRepairTries;
tmpType << "-F-" << mainRepairTries;
}
else
{
Expand All @@ -134,7 +134,7 @@ void TaskRepairInfeasibleDualProblem::run()

env->tasks->setNextTask(taskIDIfFalse);
mainRepairTries++;
tmpType << "-FAIL-" << mainRepairTries;
tmpType << "-F-" << mainRepairTries;
}

totRepairTries++;
Expand Down