Skip to content

Commit 8cbdd88

Browse files
committed
Merge branch 'latest' of https://github.com/ERGO-Code/HiGHS into coeffStren
2 parents f924cb8 + 0876f9b commit 8cbdd88

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

FEATURES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ ZI rounding and shifting MIP primal heuristics have been added (see [#2287](http
1818

1919
Added `Highs_changeRowsBoundsByRange` to C API, fixing [#2296](https://github.com/ERGO-Code/HiGHS/issues/2296))
2020

21+
Corrected docstrings for `Highs_getReducedRow`, motivated by [#2312](https://github.com/ERGO-Code/HiGHS/issues/2312))
22+

extern/zstr/zstr.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <zlib.h>
1212

1313
#include <cassert>
14+
#include <cstdint>
1415
#include <fstream>
1516
#include <iostream>
1617
#include <memory>

highs/interfaces/highs_c_api.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,15 +1164,15 @@ HighsInt Highs_getBasisTransposeSolve(const void* highs, const double* rhs,
11641164
* See `Highs_getBasicVariables` for a description of the ``B`` matrix.
11651165
*
11661166
* The arrays `row_vector` and `row_index` must have an allocated length of
1167-
* [num_row]. However, check `row_num_nz` to see how many non-zero elements are
1167+
* [num_col]. However, check `row_num_nz` to see how many non-zero elements are
11681168
* actually stored.
11691169
*
11701170
* @param highs A pointer to the Highs instance.
11711171
* @param row The index of the row to compute.
1172-
* @param row_vector An array of length [num_row] in which to store the
1172+
* @param row_vector An array of length [num_col] in which to store the
11731173
* values of the non-zero elements.
11741174
* @param row_num_nz The number of non-zeros in the row.
1175-
* @param row_index An array of length [num_row] in which to store the
1175+
* @param row_index An array of length [num_col] in which to store the
11761176
* indices of the non-zero elements.
11771177
*
11781178
* @returns A `kHighsStatus` constant indicating whether the call succeeded.

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)