Skip to content

Commit 90cfeb9

Browse files
committed
Fix bug due to incorrect argument positioning
1 parent e694313 commit 90cfeb9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

highs/mip/HighsFeasibilityJump.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ HighsModelStatus HighsMipSolverData::feasibilityJump() {
3030
// Configure Feasibility Jump and pass it the problem
3131
int verbosity = mipsolver.submip ? 0 : mipsolver.options_mip_->log_dev_level;
3232
auto solver = external_feasibilityjump::FeasibilityJumpSolver(
33-
/* seed = */ 0, /* verbosity = */ verbosity,
33+
/* seed = */ mipsolver.options_mip_->random_seed,
34+
/* verbosity = */ verbosity,
3435
/* equalityTolerance = */ epsilon,
3536
/* violationTolerance = */ feastol);
3637

highs/mip/feasibilityjump.hh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,9 @@ class FeasibilityJumpSolver {
467467

468468
public:
469469
FeasibilityJumpSolver(int seed = 0, int _verbosity = 0,
470-
double _weightUpdateDecay = 1.0,
471470
double equalityTolerance = 1e-5,
472-
double violationTolerance = 1e-5)
471+
double violationTolerance = 1e-5,
472+
double _weightUpdateDecay = 1.0)
473473
: problem(equalityTolerance, violationTolerance),
474474
jumpMove(equalityTolerance) {
475475
verbosity = _verbosity;

0 commit comments

Comments
 (0)