Home
last modified time | relevance | path

Searched refs:SCIPgetNVars (Results 1 – 25 of 126) sorted by relevance

123456

/dports/math/SCIP/scip-7.0.3/src/scip/
H A Dheur_multistart.c158 nvars = SCIPgetNVars(scip); in sampleRandomPoints()
262 BMSclearMemoryArray(grad, SCIPgetNVars(scip)); in computeGradient()
270 assert(getVarIndex(varindex, var) >= 0 && getVarIndex(varindex, var) < SCIPgetNVars(scip)); in computeGradient()
302 assert(SCIPexprtreeGetNVars(tree) <= SCIPgetNVars(scip)); in computeGradient()
334 for( i = 0; i < SCIPgetNVars(scip); ++i ) in computeGradient()
393 nvars = SCIPgetNVars(scip); in improvePoint()
572 if( SCIPgetNVars(scip) == 0 ) in getRelDistance()
575 for( i = 0; i < SCIPgetNVars(scip); ++i ) in getRelDistance()
604 return distance / SCIPgetNVars(scip); in getRelDistance()
837 SCIP_CALL( SCIPhashmapCreate(&varindex, SCIPblkmem(scip), SCIPgetNVars(scip)) ); in applyHeur()
[all …]
H A Dheur_vbounds.c211 assert(startnode < 2 * SCIPgetNVars(scip)); in dfs()
283 assert(stacksize <= 2* SCIPgetNVars(scip)); in dfs()
349 assert(idx >= 0 && idx < 2 * SCIPgetNVars(scip)); in dfs()
378 assert(stacksize <= 2* SCIPgetNVars(scip)); in dfs()
425 nbounds = 2 * SCIPgetNVars(scip); in topologicalSort()
859 SCIPgetSolvingTime(scip), SCIPgetNVars(subscip), SCIPgetNConss(subscip), in setupAndSolveSubscip()
860 ((nvars - SCIPgetNVars(subscip)) / (SCIP_Real)nvars)); in setupAndSolveSubscip()
862 *nprevars = SCIPgetNVars(subscip); in setupAndSolveSubscip()
867 if( ((nvars - SCIPgetNVars(subscip)) / (SCIP_Real)nvars) >= heurdata->minmipfixingrate ) in setupAndSolveSubscip()
940 if( nvbvars < SCIPgetNVars(scip) * heurdata->minintfixingrate ) in applyVbounds()
H A Dbenderscut_nogood.c96 nvars = SCIPgetNVars(masterprob); in computeNogoodCut()
327 if( SCIPgetNBinVars(scip) != (SCIPgetNVars(scip) - SCIPbendersGetNSubproblems(benders)) in SCIP_DECL_BENDERSCUTEXEC()
329 … || SCIPgetNBinVars(scip) != (SCIPgetNVars(scip) - SCIPbendersGetNSubproblems(benders) - 1)) ) in SCIP_DECL_BENDERSCUTEXEC()
H A Dheur_mpec.c144 SCIP_CALL( SCIPhashmapCreate(&heurdata->var2idx, SCIPblkmem(scip), SCIPgetNVars(scip)) ); in createNLP()
357 SCIP_CALL( SCIPallocBufferArray(scip, &initguess, SCIPgetNVars(scip)) ); in heurExec()
374 for( i = 0; i < SCIPgetNVars(scip); ++i ) in heurExec()
461 for( j = 0; j < SCIPgetNVars(scip); ++j ) in heurExec()
493 for( j = 0; j < SCIPgetNVars(scip); ++j ) in heurExec()
515 BMScopyMemoryArray(initguess, primal, SCIPgetNVars(scip)); in heurExec()
H A Dcons_components.c211 minsize = (int)(conshdlrdata->minrelsize * SCIPgetNVars(scip)); in getMinsize()
346 nsourcevars = SCIPgetNVars(scip); in componentSetupWorkingSol()
1337 nvars = SCIPgetNVars(scip); in initProblem()
1587 int nfixedvars = SCIPgetNVars(scip) - compstartsvars[ncomponents]; in createAndSplitProblem()
1758 nvars = SCIPgetNVars(scip); in fillDigraph()
1912 nvars = SCIPgetNVars(scip); in findComponents()
2128 if( SCIPgetNVars(scip) == 0 ) in SCIP_DECL_CONSPROP()
2166 SCIP_CALL( SCIPallocBufferArray(scip, &sortedvars, SCIPgetNVars(scip)) ); in SCIP_DECL_CONSPROP()
2295 nvars = SCIPgetNVars(scip); in SCIP_DECL_CONSPRESOL()
2318 SCIP_CALL( SCIPallocBufferArray(scip, &sortedvars, SCIPgetNVars(scip)) ); in SCIP_DECL_CONSPRESOL()
[all …]
H A Dheur_completesol.c209 nvars = SCIPgetNVars(scip); in createSubproblem()
735 nvars = SCIPgetNVars(scip); in setupAndSolve()
768 …SCIPdebugMsg(scip, "Completesol subproblem: %d vars, %d cons\n", SCIPgetNVars(subscip), SCIPgetNCo… in setupAndSolve()
863 if( !SCIPisNLPEnabled(subscip) && SCIPgetNContVars(subscip) == SCIPgetNVars(subscip) ) in setupAndSolve()
977 nvars = SCIPgetNVars(scip); in applyCompletesol()
1097 nvars = SCIPgetNVars(scip); in SCIP_DECL_HEUREXEC()
H A Dbenderscut_int.c188 nvars = SCIPgetNVars(masterprob); in computeStandardIntegerOptCut()
579 if( SCIPgetNBinVars(scip) != (SCIPgetNVars(scip) - SCIPbendersGetNSubproblems(benders)) in SCIP_DECL_BENDERSCUTEXEC()
581 … || SCIPgetNBinVars(scip) != (SCIPgetNVars(scip) - SCIPbendersGetNSubproblems(benders) - 1)) ) in SCIP_DECL_BENDERSCUTEXEC()
H A Dheur_ofins.c169 nvars = SCIPgetNVars(scip); in setupAndSolve()
225 …SCIPdebugMsg(scip, "OFINS subproblem: %d vars, %d cons\n", SCIPgetNVars(subscip), SCIPgetNConss(su… in setupAndSolve()
293 …SCIPdebugMsg(scip, "%s presolved subproblem: %d vars, %d cons\n", HEUR_NAME, SCIPgetNVars(subscip)… in setupAndSolve()
H A Dsyncstore.c143 syncstore->ninitvars = SCIPgetNVars(scip); in SCIPsyncstoreInit()
183 syncstore->minsyncdelay *= 0.01 * (SCIPgetNNZs(scip) * SCIPgetNVars(scip)); /*lint !e790*/ in SCIPsyncstoreInit()
184 syncstore->syncfreqmax *= 0.01 * (SCIPgetNNZs(scip) * SCIPgetNVars(scip)); /*lint !e790*/ in SCIPsyncstoreInit()
H A Dheur_locks.c750 nvars = SCIPgetNVars(scip); in SCIP_DECL_HEUREXEC()
1000 … value = %g\n", SCIPgetSolvingTime(scip), SCIPgetNVars(subscip), SCIPgetNConss(subscip), ((nvars -… in SCIP_DECL_HEUREXEC()
1005 if( ((nvars - SCIPgetNVars(subscip)) / (SCIP_Real)nvars) >= heurdata->minfixingrate ) in SCIP_DECL_HEUREXEC()
H A Dbenderscut_feas.c154 nsubvars = SCIPgetNVars(subproblem); in computeStandardLPFeasibilityCut()
359 nmastervars = SCIPgetNVars(masterprob) + SCIPgetNFixedVars(masterprob); in generateAndApplyBendersCuts()
H A Dpresol_trivial.c79 nvars = SCIPgetNVars(scip); in SCIP_DECL_PRESOLEXEC()
H A Dheur_rens.c412 …SCIPdebugMsg(scip, "RENS subproblem: %d vars, %d cons\n", SCIPgetNVars(subscip), SCIPgetNConss(sub… in setupAndSolveSubscip()
530 …SCIPdebugMsg(scip, "RENS presolved subproblem: %d vars, %d cons, success=%u\n", SCIPgetNVars(subsc… in setupAndSolveSubscip()
532 …allfixingrate = (SCIPgetNOrigVars(subscip) - SCIPgetNVars(subscip)) / (SCIP_Real)SCIPgetNOrigVars(… in setupAndSolveSubscip()
H A Dscip_copy.c421 … SCIP_CALL( SCIPhashmapCreate(&localvarmap, SCIPblkmem(targetscip), SCIPgetNVars(sourcescip)) ); in copyProb()
762 … SCIP_CALL( SCIPhashmapCreate(&localvarmap, SCIPblkmem(targetscip), SCIPgetNVars(sourcescip)) ); in SCIPgetVarCopy()
982 … SCIP_CALL( SCIPhashmapCreate(&localvarmap, SCIPblkmem(targetscip), SCIPgetNVars(sourcescip)) ); in copyVars()
1578 … SCIP_CALL( SCIPhashmapCreate(&localvarmap, SCIPblkmem(targetscip), SCIPgetNVars(sourcescip)) ); in SCIPgetConsCopy()
1709 … SCIP_CALL( SCIPhashmapCreate(&localvarmap, SCIPblkmem(targetscip), SCIPgetNVars(sourcescip)) ); in SCIPcopyConss()
1913 … SCIP_CALL( SCIPhashmapCreate(&localvarmap, SCIPblkmem(targetscip), SCIPgetNVars(sourcescip)) ); in SCIPcopyOrigConss()
2202 … SCIP_CALL( SCIPhashmapCreate(&localvarmap, SCIPblkmem(targetscip), SCIPgetNVars(sourcescip)) ); in SCIPcopyConflicts()
2662 … SCIP_CALL( SCIPhashmapCreate(&localvarmap, SCIPblkmem(targetscip), SCIPgetNVars(sourcescip)) ); in doCopy()
H A Dprop_dualfix.c71 nvars = SCIPgetNVars(scip); in performDualfix()
H A Dpresol_boundshift.c141 nvars = SCIPgetNVars(scip) - nbinvars; in SCIP_DECL_PRESOLEXEC()
H A Dsepa_rapidlearning.c840 if( !sepadata->contvars && ndiscvars != SCIPgetNVars(scip) ) in SCIP_DECL_SEPAEXECLP()
844 if( sepadata->contvars && SCIPgetNContVars(scip) > sepadata->contvarsquot * SCIPgetNVars(scip) ) in SCIP_DECL_SEPAEXECLP()
869 if( SCIPgetNVars(scip) > sepadata->maxnvars || SCIPgetNConss(scip) > sepadata->maxnconss ) in SCIP_DECL_SEPAEXECLP()
/dports/math/SCIP/scip-7.0.3/examples/Relaxator/src/
H A Drelax_lp.c91 SCIP_CALL( SCIPhashmapCreate(&varmap, SCIPblkmem(relaxscip), SCIPgetNVars(scip)) ); in SCIP_DECL_RELAXEXEC()
96 for( i = 0; i < SCIPgetNVars(relaxscip); ++i ) in SCIP_DECL_RELAXEXEC()
122 for( i = 0; i < SCIPgetNVars(scip); ++i ) in SCIP_DECL_RELAXEXEC()
H A Drelax_nlp.c96 SCIP_CALL( SCIPhashmapCreate(&var2idx, SCIPblkmem(scip), SCIPgetNVars(scip)) ); in SCIP_DECL_RELAXEXEC()
133 nvars = SCIPgetNVars(scip); in SCIP_DECL_RELAXEXEC()
/dports/math/SCIP/scip-7.0.3/tests/src/presol/
H A Dqpkktref.c134 …SCIP_CALL( SCIPhashmapCreate(&varhash, SCIPblkmem(scip), SCIPgetNVars(scip) + SCIPgetNFixedVars(sc… in checkConsLinear()
137 …SCIP_CALL( SCIPallocBufferArray(scip, &dualconss, 2 * SCIPgetNVars(scip) + 2 * SCIPgetNFixedVars(s… in checkConsLinear()
193 …SCIP_CALL( SCIPhashmapCreate(&varhash, SCIPblkmem(scip), SCIPgetNVars(scip) + SCIPgetNFixedVars(sc… in checkConsKnapsack()
196 …SCIP_CALL( SCIPallocBufferArray(scip, &dualconss, 2 * SCIPgetNVars(scip) + 2 * SCIPgetNFixedVars(s… in checkConsKnapsack()
/dports/math/SCIP/scip-7.0.3/tests/src/cons/or/
H A Ddisable_upgrades.c131 cr_assert(SCIPgetNVars(scip) == 24);
/dports/math/SCIP/scip-7.0.3/tests/src/bugs/
H A Dlowerbound.c66 nvars = SCIPgetNVars(scip); in SCIP_DECL_RELAXEXEC()
/dports/math/SCIP/scip-7.0.3/tests/src/cons/superindicator/
H A Dslack.c266 norigvars = SCIPgetNVars(scip); in SCIPsolveSlack()
525 nvars = SCIPgetNVars(scip); in SCIPsolveSlack()
822 nvars = SCIPgetNVars(scip); in SCIPsolveSlack()
1007 nvars = SCIPgetNVars(scip); in testslack()
/dports/math/SCIP/scip-7.0.3/applications/MinIISC/src/
H A Dbenders.c156 SCIPgetNVars(masterscip), SCIPgetNOrigVars(masterscip), 0, 0, 0); in printLongStatistics()
163SCIPgetNVars(masterscip), SCIPgetNBinVars(masterscip), SCIPgetNIntVars(masterscip), SCIPgetNImplVa… in printLongStatistics()
/dports/math/SCIP/scip-7.0.3/tests/src/cons/nonlinear/
H A DgetCoeffsAndConstantFromLinearExpr.c57 cr_assert_eq(SCIPgetNVars(scip), 2); in setup()

123456