Home
last modified time | relevance | path

Searched refs:fixedvars (Results 1 – 25 of 44) sorted by relevance

12

/dports/math/SCIP/scip-7.0.3/src/scip/
H A Dheur_mutation.c123 assert(fixedvars != NULL); in determineVariableFixings()
144 BMScopyMemoryArray(fixedvars, vars, ndiscretevars); in determineVariableFixings()
147 SCIPrandomPermuteArray(randnumgen, (void **)fixedvars, 0, nbinvars + nintvars); in determineVariableFixings()
158 solval = SCIPgetSolVal(scip, sol, fixedvars[i]); in determineVariableFixings()
159 lb = SCIPvarGetLbGlobal(fixedvars[i]); in determineVariableFixings()
160 ub = SCIPvarGetUbGlobal(fixedvars[i]); in determineVariableFixings()
210 assert(fixedvars != NULL); in setupAndSolveSubscipMutation()
225 …SCIP_CALL( SCIPcopyLargeNeighborhoodSearch(scip, subscip, varmapfw, "mutation", fixedvars, fixedva… in setupAndSolveSubscipMutation()
445 …SCIP_VAR** fixedvars; /* array to store variables that should be fixed in the … in SCIP_DECL_HEUREXEC() local
514 SCIP_CALL( SCIPallocBufferArray(scip, &fixedvars, nbinvars + nintvars) ); in SCIP_DECL_HEUREXEC()
[all …]
H A Dheur_rins.c119 …SCIP_VAR** fixedvars, /**< array to store source SCIP variables that should be… in determineFixings() argument
138 assert(fixedvars != NULL); in determineFixings()
163 fixedvars[fixingcounter] = vars[i]; in determineFixings()
203 …SCIP_VAR** fixedvars, /**< Fixed variables of original SCIP … in wrapperRins() argument
225 …SCIP_CALL( SCIPcopyLargeNeighborhoodSearch(scip, subscip, varmapfw, "rins", fixedvars, fixedvals, … in wrapperRins()
468 SCIP_VAR** fixedvars; in SCIP_DECL_HEUREXEC() local
540 SCIP_CALL( SCIPallocBufferArray(scip, &fixedvars, nbinvars + nintvars) ); in SCIP_DECL_HEUREXEC()
547 …SCIP_CALL( determineFixings(scip, fixedvars, fixedvals, &nfixedvars, nbinvars + nintvars, heurdata… in SCIP_DECL_HEUREXEC()
567 …retcode = wrapperRins(scip, subscip, heur, heurdata, vars, fixedvars, fixedvals, result, nvars, nf… in SCIP_DECL_HEUREXEC()
575 SCIPfreeBufferArray(scip, &fixedvars); in SCIP_DECL_HEUREXEC()
H A Dheur_crossover.c355 …SCIP_VAR** fixedvars, /**< array to store source SCIP variables whose copies s… in fixVariables() argument
377 assert(fixedvars != NULL); in fixVariables()
413 fixedvars[(*nfixedvars)] = vars[i]; in fixVariables()
433 …SCIP_VAR** fixedvars, /**< array to store source SCIP variables whose copies s… in determineVariableFixings() argument
506 …SCIP_CALL( fixVariables(scip, fixedvars, fixedvals, nfixedvars, fixedvarssize, selection, heurdata… in determineVariableFixings()
581 …SCIP_VAR** fixedvars, /**< array to store the variables that should be fixed i… in setupAndSolveSubscipCrossover() argument
609 …SCIP_CALL( SCIPcopyLargeNeighborhoodSearch(scip, subscip, varmapfw, "crossover", fixedvars, fixedv… in setupAndSolveSubscipCrossover()
907 SCIP_VAR** fixedvars; in SCIP_DECL_HEUREXEC() local
998 SCIP_CALL( SCIPallocBufferArray(scip, &fixedvars, nbinvars + nintvars) ); in SCIP_DECL_HEUREXEC()
1026 fixedvars, fixedvals, nstallnodes, result, selection, nvars, nfixedvars, nusedsols); in SCIP_DECL_HEUREXEC()
[all …]
H A Dheur_dins.c202 …SCIP_VAR** fixedvars, /**< array to store variables that should be fixed in th… in determineVariableFixings() argument
221 assert(fixedvars != NULL); in determineVariableFixings()
292 fixedvars[nfixedvars] = vars[i]; in determineVariableFixings()
314 fixedvars[(nfixedvars)] = vars[i]; in determineVariableFixings()
453 …SCIP_VAR** fixedvars, /**< Fixed variables of original SCIP … in wrapperDins() argument
483 …SCIP_CALL( SCIPcopyLargeNeighborhoodSearch(scip, subscip, varmapfw, "dins", fixedvars, fixedvals, … in wrapperDins()
794 SCIP_VAR** fixedvars; in SCIP_DECL_HEUREXEC() local
881 SCIP_CALL( SCIPallocBufferArray(scip, &fixedvars, nbinvars + nintvars) ); in SCIP_DECL_HEUREXEC()
886 …SCIP_CALL( determineVariableFixings(scip, heur, heurdata, vars, fixedvars, fixedvals, nbinvars, ni… in SCIP_DECL_HEUREXEC()
902 …retcode = wrapperDins(scip, subscip, heur, heurdata, vars, fixedvars, fixedvals, result, nvars, nb… in SCIP_DECL_HEUREXEC()
[all …]
H A Dheur_rens.c138 …SCIP_VAR** fixedvars, /**< array to store source SCIP variables whose copies s… in computeFixingrate() argument
153 assert(fixedvars != NULL); in computeFixingrate()
225 fixedvars[(*nfixedvars)] = vars[i]; in computeFixingrate()
346 SCIP_VAR** fixedvars, /**< array of variables that should be fixed */ in setupAndSolveSubscip() argument
386 …SCIP_CALL( SCIPcopyLargeNeighborhoodSearch(scip, subscip, varmapfw, "rens", fixedvars, fixedvals, … in setupAndSolveSubscip()
628 SCIP_VAR** fixedvars; in SCIPapplyRens() local
656 SCIP_CALL( SCIPallocBufferArray(scip, &fixedvars, fixedvarssize) ); in SCIPapplyRens()
661 …SCIP_CALL( computeFixingrate(scip, fixedvars, fixedvals, &nfixedvars, fixedvarssize, minfixingrate… in SCIPapplyRens()
680 …retcode = setupAndSolveSubscip(scip, subscip, result, heur, fixedvars, fixedvals, nfixedvars, intf… in SCIPapplyRens()
689 SCIPfreeBufferArray(scip, &fixedvars); in SCIPapplyRens()
H A Dscip_copy.h391 …SCIP_VAR** fixedvars, /**< source variables whose copies should be fixed in th…
437 …SCIP_VAR** fixedvars, /**< source variables whose copies should be fixed in th…
1052 …SCIP_VAR** fixedvars, /**< source variables whose copies should be fixed in th…
1182 …SCIP_VAR** fixedvars, /**< source variables whose copies should be fixed in th…
H A Dreader.c287 SCIP_VAR** fixedvars; in SCIPreaderWrite() local
299 fixedvars = prob->fixedvars; in SCIPreaderWrite()
397 var = fixedvars[i]; in SCIPreaderWrite()
428 fixedvars, nfixedvars, prob->startnvars, in SCIPreaderWrite()
450 resetVarname(fixedvars[i], set, fixedvarnames[i]); in SCIPreaderWrite()
H A Dsol.c2109 assert(prob->fixedvars[v] != NULL); in SCIPsolPrint()
2112 if( mipstart && !SCIPvarIsIntegral(prob->fixedvars[v]) ) in SCIPsolPrint()
2115 solval = SCIPsolGetVal(sol, set, stat, prob->fixedvars[v]); in SCIPsolPrint()
2168 assert(transprob->fixedvars[v] != NULL); in SCIPsolPrint()
2169 if( SCIPvarIsTransformedOrigvar(transprob->fixedvars[v]) ) in SCIPsolPrint()
2173 if( mipstart && !SCIPvarIsIntegral(transprob->fixedvars[v]) ) in SCIPsolPrint()
2176 solval = SCIPsolGetVal(sol, set, stat, transprob->fixedvars[v]); in SCIPsolPrint()
2243 assert(prob->fixedvars[v] != NULL); in SCIPsolPrintRay()
2244 solval = SCIPsolGetRayVal(sol, set, stat, prob->fixedvars[v]); in SCIPsolPrintRay()
2284 assert(transprob->fixedvars[v] != NULL); in SCIPsolPrintRay()
[all …]
H A Dheur_ofins.c143 SCIP_VAR** fixedvars; in setupAndSolve() local
182 SCIP_CALL( SCIPallocBufferArray(scip, &fixedvars, nvars) ); in setupAndSolve()
191 fixedvars[nfixedvars] = vars[i]; in setupAndSolve()
198 …SCIP_CALL( SCIPcopyLargeNeighborhoodSearch(scip, subscip, varmapfw, "ofins", fixedvars, fixedvals,… in setupAndSolve()
203 SCIPfreeBufferArrayNull(scip, &fixedvars); in setupAndSolve()
H A Dscip_copy.c962 assert(nfixedvars == 0 || fixedvars != NULL); in copyVars()
1043 targetvar = (SCIP_VAR*) SCIPhashmapGetImage(localvarmap, (void *)fixedvars[i]); in copyVars()
1184 …SCIP_CALL( copyVars(sourcescip, targetscip, varmap, consmap, fixedvars, fixedvals, nfixedvars, FAL… in SCIPcopyVars()
1240 …SCIP_CALL( copyVars(sourcescip, targetscip, varmap, consmap, fixedvars, fixedvals, nfixedvars, TRU… in SCIPcopyOrigVars()
2701 …SCIP_CALL( copyVars(sourcescip, targetscip, localvarmap, localconsmap, fixedvars, fixedvals, nfixe… in doCopy()
2833 SCIP_VAR** fixedvars = NULL; in SCIPcopy() local
2848 …SCIP_CALL( doCopy(sourcescip, targetscip, varmap, consmap, suffix, fixedvars, fixedvals, nfixedvar… in SCIPcopy()
2942 …SCIP_CALL( doCopy(sourcescip, targetscip, varmap, consmap, suffix, fixedvars, fixedvals, nfixedvar… in SCIPcopyConsCompression()
3007 SCIP_VAR** fixedvars = NULL; in SCIPcopyOrig() local
3022 …SCIP_CALL( doCopy(sourcescip, targetscip, varmap, consmap, suffix, fixedvars, fixedvals, nfixedvar… in SCIPcopyOrig()
[all …]
H A Dbenderscut_opt.c287 SCIP_VAR** fixedvars; in computeStandardLPOptimalityCut() local
342 fixedvars = SCIPgetFixedVars(subproblem); in computeStandardLPOptimalityCut()
354 var = fixedvars[i - nsubvars]; in computeStandardLPOptimalityCut()
440 SCIP_VAR** fixedvars; in computeStandardNLPOptimalityCut() local
472 fixedvars = SCIPgetFixedVars(subproblem); in computeStandardNLPOptimalityCut()
556 …*checkobj += SCIPvarGetUnchangedObj(fixedvars[i]) * getNlpVarSol(fixedvars[i], primalvals, var2idx… in computeStandardNLPOptimalityCut()
H A Dreader_opb.h84 SCIP_VAR** fixedvars, /**< array with fixed variables */
H A Dheuristics.h92 …SCIP_VAR** fixedvars, /**< source variables whose copies should be fixed in th…
H A Dreader_mps.h95 SCIP_VAR** fixedvars, /**< array with fixed and aggregated variables */
H A Dstruct_prob.h56 SCIP_VAR** fixedvars; /**< array with fixed and aggregated variables */ member
H A Dheur_gins.c1150 SCIP_VAR** fixedvars, /**< buffer to store variables that should be fixed */ in fixNonNeighborhoodVariables() argument
1181 fixedvars[*nfixings] = vars[i]; in fixNonNeighborhoodVariables()
1832 SCIP_VAR** fixedvars, /**< buffer to store variables that should be fixed */ in determineVariableFixingsDecomp() argument
1916 fixedvars[*nfixings] = var; in determineVariableFixingsDecomp()
1960 SCIP_VAR** fixedvars, /**< buffer to store variables that should be fixed */ in determineVariableFixings() argument
1980 assert(fixedvars != NULL); in determineVariableFixings()
2081 …SCIP_CALL( fixNonNeighborhoodVariables(scip, heurdata, rollinghorizon, sol, vars, fixedvars, fixed… in determineVariableFixings()
2412 SCIP_VAR** fixedvars; in SCIP_DECL_HEUREXEC() local
2474 SCIP_CALL( SCIPallocBufferArray(scip, &fixedvars, nvars) ); in SCIP_DECL_HEUREXEC()
2520 …SCIP_CALL( SCIPcopyLargeNeighborhoodSearch(scip, subscip, varmapfw, "gins", fixedvars, fixedvals, … in SCIP_DECL_HEUREXEC()
[all …]
H A Dtype_reader.h121 SCIP_VAR** fixedvars, int nfixedvars, int startnvars, \
H A Dreader_wbo.c72 …nvars, nbinvars, nintvars, nimplvars, ncontvars, fixedvars, nfixedvars, conss, nconss, genericname… in SCIP_DECL_READERWRITE()
H A Dprob.c99 SCIP_ALLOC( BMSreallocMemoryArray(&prob->fixedvars, newsize) ); in probEnsureFixedvarsMem()
298 (*prob)->fixedvars = NULL; in SCIPprobCreate()
482 assert(SCIPvarGetProbindex((*prob)->fixedvars[v]) == -1); in SCIPprobFree()
484 if( SCIPvarGetNUses((*prob)->fixedvars[v]) > 1 ) in SCIPprobFree()
487 … (*prob)->transformed ? "Transformed" : "Original", SCIPvarGetName((*prob)->fixedvars[v])); in SCIPprobFree()
493 SCIP_CALL( SCIPvarRelease(&(*prob)->fixedvars[v], blkmem, set, eventqueue, lp) ); in SCIPprobFree()
495 BMSfreeMemoryArrayNull(&(*prob)->fixedvars); in SCIPprobFree()
1223 prob->fixedvars[prob->nfixedvars] = var; in SCIPprobVarChangedStatus()
/dports/math/chuffed/chuffed-e04bedd/chuffed/mdd/
H A Dmdd_prop.h124 if( fixedvars.elem(i) ) in wakeup()
127 val_entries[i].val_lim = fixedvars.size(); in wakeup()
128 fixedvars.insert(i); in wakeup()
203 TrailedSet fixedvars; variable
H A Dmdd_prop.cpp188 fixedvars.insert(i); in MDDProp()
232 lim = fixedvars.size(); in genReason()
268 ValLimDesc ord(fixedvars); in genReason()
842 if( fixedvars.elemLim(lim,v) ) in mark_frontier()
1085 if( fixedvars.elem(i) ) in fullProp()
1096 int lim = fixedvars.size(); in fullProp()
1103 fixedvars.insert(i); in fullProp()
1212 if( fixedvars.elem(i) ) in verify()
1233 unsigned int count = fixedvars.size()<<3; in propagate()
1268 count = fixedvars.size()<<3; in propagate()
[all …]
H A Dwmdd_prop.h126 if( fixedvars.elem(i) ) in wakeup()
130 fixedvars.insert(i); in wakeup()
246 TrailedSet fixedvars; variable
/dports/math/R-cran-lpSolve/lpSolve/src/
H A Dlp_simplex.c233 if((lp->fixedvars > 0) && (*forceoutEQ != TRUE)) { in stallMonitor_check()
1065 ((lp->fixedvars > 0) && is_anti_degen(lp, ANTIDEGEN_FIXEDVARS))) {
1308 lp->fixedvars, (double) get_total_iter(lp));
1310 while(lp->fixedvars > 0) {
1321 lp->fixedvars--;
1362 if((lp->simplex_strategy & SIMPLEX_DUAL_PRIMAL) && (lp->fixedvars == 0))
1375 if((lp->fixedvars > 0) && (lp->bb_totalnodes == 0)) {
1388 lp->fixedvars);
1467 lp->fixedvars--;
1529 lp->fixedvars = 0;
[all …]
/dports/math/lp_solve/lp_solve_5.5/
H A Dlp_simplex.c247 if((lp->fixedvars > 0) && (*forceoutEQ != TRUE)) {
1079 ((lp->fixedvars > 0) && is_anti_degen(lp, ANTIDEGEN_FIXEDVARS))) {
1322 lp->fixedvars, (double) get_total_iter(lp));
1324 while(lp->fixedvars > 0) {
1335 lp->fixedvars--;
1376 if((lp->simplex_strategy & SIMPLEX_DUAL_PRIMAL) && (lp->fixedvars == 0))
1389 if((lp->fixedvars > 0) && (lp->bb_totalnodes == 0)) {
1402 lp->fixedvars);
1481 lp->fixedvars--;
1543 lp->fixedvars = 0;
[all …]
/dports/math/SCIP/scip-7.0.3/src/objscip/
H A Dobjreader.cpp133 vars, nvars, nbinvars, nintvars, nimplvars, ncontvars, fixedvars, nfixedvars, startnvars, in SCIP_DECL_READERWRITE()

12