Skip to content

Commit

Permalink
removes probing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen J. Maher committed Mar 24, 2020
1 parent 5ed1af6 commit 25ea112
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
2 changes: 0 additions & 2 deletions src/pyscipopt/scip.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,6 @@ cdef extern from "scip/scip.h":
SCIP_RETCODE SCIPgetProbingDepth(SCIP* scip)
SCIP_RETCODE SCIPbacktrackProbing(SCIP* scip, int probingdepth)
SCIP_RETCODE SCIPchgVarObjProbing(SCIP* scip, SCIP_VAR* var, SCIP_Real newobj)
SCIP_RETCODE SCIPchgVarUbProbing(SCIP* scip, SCIP_VAR* var, SCIP_Real newbound)
SCIP_RETCODE SCIPchgVarLbProbing(SCIP* scip, SCIP_VAR* var, SCIP_Real newbound)
SCIP_RETCODE SCIPsolveProbingLP(SCIP* scip, int itlim, SCIP_Bool* lperror, SCIP_Bool* cutoff)
SCIP_RETCODE SCIPendProbing(SCIP* scip)
SCIP_RETCODE SCIPfixVarProbing(SCIP* scip, SCIP_VAR* var, SCIP_Real fixedval)
Expand Down
12 changes: 0 additions & 12 deletions src/pyscipopt/scip.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -3767,18 +3767,6 @@ cdef class Model:
"""changes (column) variable's objective value during probing mode"""
PY_SCIP_CALL( SCIPchgVarObjProbing(self._scip, var.scip_var, newobj) )

def chgVarLbProbing(self, Variable var, lb):
"""changes the variable lower bound during probing mode"""
if lb is None:
lb = -SCIPinfinity(self._scip)
PY_SCIP_CALL(SCIPchgVarLbProbing(self._scip, var.scip_var, lb))

def chgVarUbProbing(self, Variable var, ub):
"""changes the variable upper bound during probing mode"""
if ub is None:
ub = SCIPinfinity(self._scip)
PY_SCIP_CALL(SCIPchgVarUbProbing(self._scip, var.scip_var, ub))

def fixVarProbing(self, Variable var, fixedval):
"""Fixes a variable at the current probing node."""
PY_SCIP_CALL( SCIPfixVarProbing(self._scip, var.scip_var, fixedval) )
Expand Down

0 comments on commit 25ea112

Please sign in to comment.