Searched refs:_scip (Results 1 – 8 of 8) sorted by relevance
/dports/math/SCIP/scip-7.0.3/examples/Queens/src/ |
H A D | queens.cpp | 32 SCIP_CALL_EXC( SCIPcreate(& _scip) ); in QueensSolver() 60 SCIP_CALL_EXC( SCIPaddVar(_scip, var) ); in QueensSolver() 85 SCIP_CALL_EXC( SCIPaddCons(_scip, cons) ); in QueensSolver() 103 SCIP_CALL_EXC( SCIPaddCons(_scip, cons) ); in QueensSolver() 121 SCIP_CALL_EXC( SCIPaddCons(_scip, cons) ); in QueensSolver() 136 SCIP_CALL_EXC( SCIPaddCons(_scip, cons) ); in QueensSolver() 151 SCIP_CALL_EXC( SCIPaddCons(_scip, cons) ); in QueensSolver() 166 SCIP_CALL_EXC( SCIPaddCons(_scip, cons) ); in QueensSolver() 176 SCIP_SOL * sol = SCIPgetBestSol(_scip); in disp() 229 SCIP_CALL_EXC( SCIPfree(&_scip) ); in ~QueensSolver() [all …]
|
H A D | queens.hpp | 42 SCIP * _scip; member in scipexamples::QueensSolver
|
/dports/math/minizinc/libminizinc-2.5.5/solvers/MIP/ |
H A D | MIP_scip_wrap.cpp | 423 _plugin->SCIPreleaseVar(_scip, &v); in delSCIPVars() 432 double lh = -SCIPinfinityPlugin(_plugin, _scip); in addRowSCIP() 433 double rh = SCIPinfinityPlugin(_plugin, _scip); in addRowSCIP() 545 SCIP_PLUGIN_CALL(_plugin->SCIPaddCons(_scip, cons)); in addBoundsDisj() 565 SCIP_PLUGIN_CALL(_plugin->SCIPaddCons(_scip, cons)); in addCumulative() 585 SCIP_PLUGIN_CALL(_plugin->SCIPaddCons(_scip, cons)); in addLexLesseq() 748 assert(_plugin->SCIPgetNSolsFound(_scip)); in convertStatus() 774 if (_plugin->SCIPgetNSols(_scip) != 0) { in convertStatus() 823 _plugin->SCIPsetMessagehdlrQuiet(_scip, TRUE); in solveSCIP() 914 output.objVal = _plugin->SCIPgetPrimalbound(_scip); in solveSCIP() [all …]
|
/dports/math/py-PySCIPOpt/PySCIPOpt-3.0.2/src/pyscipopt/ |
H A D | scip.pyx | 940 self._scip = NULL 965 return hash(<size_t>self._scip) 969 and self._scip == (<Model>other)._scip) 978 model._scip = scip 1108 return SCIPgetGap(self._scip) 1112 return SCIPgetDepth(self._scip) 1120 return SCIPepsilon(self._scip) 1124 return SCIPfeastol(self._scip) 2991 self._bestSol = Solution.create(self._scip, SCIPgetBestSol(self._scip)) 3114 … PY_SCIP_CALL(SCIPaddBendersSubproblem(self._scip, benders._benders, (<Model>subproblem)._scip)) [all …]
|
H A D | scip.c | 1120 SCIP *_scip; 77921 __pyx_v_self->_scip = NULL; 78320 __pyx_t_2 = ((__pyx_v_self->_scip != NULL) != 0); 78544 …__pyx_t_5 = (__pyx_v_self->_scip == ((struct __pyx_obj_9pyscipopt_4scip_Model *)__pyx_v_other)->_s… 78651 __pyx_v_model->_scip = __pyx_v_scip; 79664 SCIPprintVersion(__pyx_v_self->_scip, NULL); 89095 __pyx_v__vars = SCIPgetVars(__pyx_v_self->_scip); 123941 __pyx_v__sols = SCIPgetSols(__pyx_v_self->_scip); 123950 __pyx_v_nsols = SCIPgetNSols(__pyx_v_self->_scip); 125323 __pyx_v_stat = SCIPgetStatus(__pyx_v_self->_scip); [all …]
|
H A D | scip.pxd | 1753 cdef SCIP* _scip
|
/dports/math/SCIP/scip-7.0.3/tests/src/prop/ |
H A D | obbt.c | 79 SCIP_RETCODE addRowProbing(SCIP* _scip, SCIP_VAR* _x, SCIP_VAR* _y, SCIP_Real coefx, SCIP_Real coef… in addRowProbing() argument 83 SCIP_CALL( SCIPcreateEmptyRowUnspec(_scip, &row, "row", lhs, rhs, FALSE, FALSE, TRUE) ); in addRowProbing() 84 SCIP_CALL( SCIPaddVarToRow(_scip, row, _x, coefx) ); in addRowProbing() 85 SCIP_CALL( SCIPaddVarToRow(_scip, row, _y, coefy) ); in addRowProbing() 86 SCIP_CALL( SCIPaddRowProbing(_scip, row) ); in addRowProbing() 87 SCIP_CALL( SCIPreleaseRow(_scip, &row) ); in addRowProbing()
|
/dports/math/minizinc/libminizinc-2.5.5/include/minizinc/solvers/MIP/ |
H A D | MIP_scip_wrap.hh | 265 SCIP* _scip = nullptr; member in MIPScipWrapper 397 double getInfBound() override { return SCIPinfinityPlugin(_plugin, _scip); } in getInfBound() 399 int getNCols() override { return _plugin->SCIPgetNVars(_scip); } in getNCols() 400 int getNRows() override { return _plugin->SCIPgetNConss(_scip); } in getNRows()
|