/dports/math/SCIP/scip-7.0.3/src/scip/ |
H A D | heur_multistart.c | 158 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 D | heur_vbounds.c | 211 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 D | benderscut_nogood.c | 96 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 D | heur_mpec.c | 144 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 D | cons_components.c | 211 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 D | heur_completesol.c | 209 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 D | benderscut_int.c | 188 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 D | heur_ofins.c | 169 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 D | syncstore.c | 143 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 D | heur_locks.c | 750 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 D | benderscut_feas.c | 154 nsubvars = SCIPgetNVars(subproblem); in computeStandardLPFeasibilityCut() 359 nmastervars = SCIPgetNVars(masterprob) + SCIPgetNFixedVars(masterprob); in generateAndApplyBendersCuts()
|
H A D | presol_trivial.c | 79 nvars = SCIPgetNVars(scip); in SCIP_DECL_PRESOLEXEC()
|
H A D | heur_rens.c | 412 …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 D | scip_copy.c | 421 … 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 D | prop_dualfix.c | 71 nvars = SCIPgetNVars(scip); in performDualfix()
|
H A D | presol_boundshift.c | 141 nvars = SCIPgetNVars(scip) - nbinvars; in SCIP_DECL_PRESOLEXEC()
|
H A D | sepa_rapidlearning.c | 840 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 D | relax_lp.c | 91 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 D | relax_nlp.c | 96 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 D | qpkktref.c | 134 …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 D | disable_upgrades.c | 131 cr_assert(SCIPgetNVars(scip) == 24);
|
/dports/math/SCIP/scip-7.0.3/tests/src/bugs/ |
H A D | lowerbound.c | 66 nvars = SCIPgetNVars(scip); in SCIP_DECL_RELAXEXEC()
|
/dports/math/SCIP/scip-7.0.3/tests/src/cons/superindicator/ |
H A D | slack.c | 266 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 D | benders.c | 156 SCIPgetNVars(masterscip), SCIPgetNOrigVars(masterscip), 0, 0, 0); in printLongStatistics() 163 …SCIPgetNVars(masterscip), SCIPgetNBinVars(masterscip), SCIPgetNIntVars(masterscip), SCIPgetNImplVa… in printLongStatistics()
|
/dports/math/SCIP/scip-7.0.3/tests/src/cons/nonlinear/ |
H A D | getCoeffsAndConstantFromLinearExpr.c | 57 cr_assert_eq(SCIPgetNVars(scip), 2); in setup()
|