Skip to content

Commit

Permalink
Always load infinity symbol for SCIP
Browse files Browse the repository at this point in the history
This should just always be loaded - don't use macro to rewrite in release mode.
  • Loading branch information
cyderize committed Jun 22, 2022
1 parent ffdc290 commit 0c354d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Bug fixes:
resource requirement would not always be correctly be ignored when the task
duration is zero. (:bugref:`589`)
- Fix handling of float values in ``.mpc`` parameter configuration files.
- Fix crash in SCIP plugin due to incorrect loading of ``SCIPinfinity`` symbol.

.. _v2.6.3:

Expand Down
2 changes: 0 additions & 2 deletions solvers/MIP/MIP_scip_wrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ void ScipPlugin::load() {
load_symbol(SCIPcreateVarBasic);
load_symbol(SCIPaddVar);
load_symbol(SCIPreleaseVar);
#ifndef NDEBUG
load_symbol(SCIPinfinity);
#endif
load_symbol(SCIPcreateConsBasicLinear);
load_symbol(SCIPcreateConsBasicQuadratic);
load_symbol(SCIPaddCons);
Expand Down

0 comments on commit 0c354d1

Please sign in to comment.