/dports/math/SCIP/scip-7.0.3/src/scip/ |
H A D | heur_zeroobj.c | 262 assert(subscip != NULL); in setupAndSolveSubscip() 313 inf = SCIPinfinity(subscip); in setupAndSolveSubscip() 318 if( SCIPisInfinity(subscip, ub ) ) in setupAndSolveSubscip() 324 if( SCIPisInfinity(subscip, -lb ) ) in setupAndSolveSubscip() 380 …if( SCIPfindBranchrule(subscip, "leastinf") != NULL && !SCIPisParamFixed(subscip, "branching/least… in setupAndSolveSubscip() 459 SCIP_CALL( SCIPtransformProb(subscip) ); in setupAndSolveSubscip() 467 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in setupAndSolveSubscip() 475 nsubsols = SCIPgetNSols(subscip); in setupAndSolveSubscip() 476 subsols = SCIPgetSols(subscip); in setupAndSolveSubscip() 549 SCIP_CALL( SCIPcreate(&subscip) ); in SCIPapplyZeroobj() [all …]
|
H A D | heur_lpface.c | 543 subscipdata->subscip = NULL; in subscipdataReset() 559 if( subscipdata->subscip != NULL ) in subscipdataFreeSubscip() 564 subscipdata->subscip = NULL; in subscipdataFreeSubscip() 590 assert(subscip != NULL); in subscipdataCopySubscip() 597 subscipdata->subscip = subscip; in subscipdataCopySubscip() 626 nodes = SCIPgetNNodes(subscip); in subscipGetInfo() 627 status = SCIPgetStatus(subscip); in subscipGetInfo() 744 assert( subscip != NULL ); in setupSubscipLpface() 827 assert( subscip != NULL ); in solveSubscipLpface() 1216 subscip = heurdata->subscipdata->subscip; in SCIP_DECL_HEUREXEC() [all …]
|
H A D | sepa_rapidlearning.c | 351 SCIP_CALL( SCIPtransformProb(subscip) ); in setupAndSolveSubscipRapidlearning() 374 SCIP_CALL( SCIPpresolve(subscip) ); in setupAndSolveSubscipRapidlearning() 383 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in setupAndSolveSubscipRapidlearning() 402 …if( SCIPgetNSols(subscip) > 0 && SCIPisFeasLE(scip, SCIPgetUpperbound(subscip), SCIPgetUpperbound(… in setupAndSolveSubscipRapidlearning() 419 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in setupAndSolveSubscipRapidlearning() 441 nsubsols = SCIPgetNSols(subscip); in setupAndSolveSubscipRapidlearning() 442 subsols = SCIPgetSols(subscip); in setupAndSolveSubscipRapidlearning() 460 …&& (SCIPgetStatus(subscip) == SCIP_STATUS_OPTIMAL || SCIPgetStatus(subscip) == SCIP_STATUS_INFEASI… in setupAndSolveSubscipRapidlearning() 810 SCIP* subscip; in SCIP_DECL_SEPAEXECLP() local 902 SCIP_CALL( SCIPcreate(&subscip) ); in SCIP_DECL_SEPAEXECLP() [all …]
|
H A D | heur_proximity.c | 236 assert(subscip != NULL); in createNewSol() 319 assert(subscip != NULL); in setupSubproblem() 405 if( heurdata->subscip != NULL ) in deleteSubproblem() 417 heurdata->subscip = NULL; in deleteSubproblem() 512 heurdata->subscip = NULL; in SCIP_DECL_HEURINIT() 624 if( heurdata->subscip != NULL ) in SCIP_DECL_HEUREXEC() 801 if( heurdata->subscip == NULL ) in SCIPapplyProximity() 835 …CIPcreateConsBasicLinear(subscip, &objcons, "objbound_of_origscip", 0, NULL, NULL, -SCIPinfinity(s… in SCIPapplyProximity() 895 subscip = heurdata->subscip; in SCIPapplyProximity() 971 …SCIPgetNNodes(subscip), SCIPgetNLPIterations(subscip), SCIPgetNRootLPIterations(subscip), SCIPgetP… in SCIPapplyProximity() [all …]
|
H A D | heur_rins.c | 259 SCIP_CALL( SCIPcopyLimits(scip, subscip) ); in wrapperRins() 266 SCIP_CALL( SCIPsetSubscipsOff(subscip, TRUE) ); in wrapperRins() 275 …if( SCIPfindNodesel(subscip, "estimate") != NULL && !SCIPisParamFixed(subscip, "nodeselection/esti… in wrapperRins() 287 …if( SCIPfindBranchrule(subscip, "inference") != NULL && !SCIPisParamFixed(subscip, "branching/infe… in wrapperRins() 315 …if( SCIPfindConshdlr(subscip, "quadratic") != NULL && !SCIPisParamFixed(subscip, "constraints/quad… in wrapperRins() 336 SCIP_CALL( SCIPsetObjlimit(subscip, cutoff) ); in wrapperRins() 339 SCIP_CALL( SCIPtransformProb(subscip) ); in wrapperRins() 346 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in wrapperRins() 357 heurdata->usednodes += SCIPgetNNodes(subscip); in wrapperRins() 565 SCIP_CALL( SCIPcreate(&subscip) ); in SCIP_DECL_HEUREXEC() [all …]
|
H A D | heur_rens.c | 263 assert(subscip != NULL); in restrictToBinaryBounds() 372 assert(subscip != NULL); in setupAndSolveSubscip() 412 …bugMsg(scip, "RENS subproblem: %d vars, %d cons\n", SCIPgetNVars(subscip), SCIPgetNConss(subscip)); in setupAndSolveSubscip() 428 SCIP_CALL( SCIPcopyLimits(scip, subscip) ); in setupAndSolveSubscip() 518 retcode = SCIPpresolve(subscip); in setupAndSolveSubscip() 532 …allfixingrate = (SCIPgetNOrigVars(subscip) - SCIPgetNVars(subscip)) / (SCIP_Real)SCIPgetNOrigVars(… in setupAndSolveSubscip() 552 retcode = SCIPsolve(subscip); in setupAndSolveSubscip() 578 nsubsols = SCIPgetNSols(subscip); in setupAndSolveSubscip() 579 subsols = SCIPgetSols(subscip); in setupAndSolveSubscip() 678 SCIP_CALL( SCIPcreate(&subscip) ); in SCIPapplyRens() [all …]
|
H A D | heur_mutation.c | 208 assert(subscip != NULL); in setupAndSolveSubscipMutation() 248 SCIP_CALL( SCIPcopyLimits(scip, subscip) ); in setupAndSolveSubscipMutation() 253 SCIP_CALL( SCIPsetSubscipsOff(subscip, TRUE) ); in setupAndSolveSubscipMutation() 262 …if( SCIPfindNodesel(subscip, "estimate") != NULL && !SCIPisParamFixed(subscip, "nodeselection/esti… in setupAndSolveSubscipMutation() 274 …if( SCIPfindBranchrule(subscip, "inference") != NULL && !SCIPisParamFixed(subscip, "branching/infe… in setupAndSolveSubscipMutation() 302 …if( SCIPfindConshdlr(subscip, "quadratic") != NULL && !SCIPisParamFixed(subscip, "constraints/quad… in setupAndSolveSubscipMutation() 324 SCIP_CALL(SCIPsetObjlimit(subscip, cutoff)); in setupAndSolveSubscipMutation() 332 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in setupAndSolveSubscipMutation() 340 heurdata->usednodes += SCIPgetNNodes(subscip); in setupAndSolveSubscipMutation() 530 SCIP_CALL( SCIPcreate(&subscip) ); in SCIP_DECL_HEUREXEC() [all …]
|
H A D | heur_dualval.c | 1297 … SCIP_CALL( SCIPchgVarLbGlobal(heurdata->subscip, tmpvar, -SCIPinfinity(heurdata->subscip)) ); in createSubSCIP() 1363 SCIP_CALL( SCIPchgVarLbGlobal(heurdata->subscip, var, -SCIPinfinity(heurdata->subscip)) ); in createSubSCIP() 1364 SCIP_CALL( SCIPchgVarUbGlobal(heurdata->subscip, var, SCIPinfinity(heurdata->subscip)) ); in createSubSCIP() 1431 SCIP_CALL( SCIPchgVarLbGlobal(heurdata->subscip, var, -SCIPinfinity(heurdata->subscip)) ); in createSubSCIP() 1432 SCIP_CALL( SCIPchgVarUbGlobal(heurdata->subscip, var, SCIPinfinity(heurdata->subscip)) ); in createSubSCIP() 1491 assert(heurdata->subscip != NULL); in freeSubSCIP() 2098 if( heurdata->subscip == NULL ) in SCIPapplyHeurDualval() 2499 if( heurdata->subscip == NULL ) in SCIPapplyHeurDualval() 2562 if( heurdata->subscip == NULL ) in SCIP_DECL_HEURINIT() 2592 if( heurdata->subscip != NULL) in SCIP_DECL_HEUREXIT() [all …]
|
H A D | heur_ofins.c | 159 assert(subscip != NULL); in setupAndSolve() 225 …ugMsg(scip, "OFINS subproblem: %d vars, %d cons\n", SCIPgetNVars(subscip), SCIPgetNConss(subscip)); in setupAndSolve() 277 retcode = SCIPpresolve(subscip); in setupAndSolve() 306 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in setupAndSolve() 313 status = SCIPgetStatus(subscip); in setupAndSolve() 322 if( SCIPhasPrimalRay(subscip) ) in setupAndSolve() 350 nsubsols = SCIPgetNSols(subscip); in setupAndSolve() 351 subsols = SCIPgetSols(subscip); in setupAndSolve() 389 SCIP* subscip; in applyOfins() local 414 SCIP_CALL( SCIPcreate(&subscip) ); in applyOfins() [all …]
|
H A D | heur_dins.c | 432 SCIP_CALL( SCIPaddCons(subscip, cons) ); in addLocalBranchingConstraint() 497 …SCIPgetNVars(subscip), SCIPgetNBinVars(subscip) , SCIPgetNIntVars(subscip) , SCIPgetNConss(subscip… in wrapperDins() 533 SCIP_CALL( SCIPcopyLimits(scip, subscip) ); in wrapperDins() 549 …if( SCIPfindNodesel(subscip, "estimate") != NULL && !SCIPisParamFixed(subscip, "nodeselection/esti… in wrapperDins() 561 …if( SCIPfindBranchrule(subscip, "inference") != NULL && !SCIPisParamFixed(subscip, "branching/infe… in wrapperDins() 589 …if( SCIPfindConshdlr(subscip, "quadratic") != NULL && !SCIPisParamFixed(subscip, "constraints/quad… in wrapperDins() 619 SCIP_CALL( SCIPtransformProb(subscip) ); in wrapperDins() 629 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in wrapperDins() 643 nsubsols = SCIPgetNSols(subscip); in wrapperDins() 900 SCIP_CALL( SCIPcreate(&subscip) ); in SCIP_DECL_HEUREXEC() [all …]
|
H A D | heur_completesol.c | 166 assert(subscip != NULL); in createSubproblem() 728 assert(subscip != NULL); in setupAndSolve() 834 retcode = SCIPpresolve(subscip); in setupAndSolve() 851 SCIPgetNBinVars(subscip), SCIPgetNIntVars(subscip), SCIPgetNContVars(subscip)); in setupAndSolve() 863 if( !SCIPisNLPEnabled(subscip) && SCIPgetNContVars(subscip) == SCIPgetNVars(subscip) ) in setupAndSolve() 868 retcode = SCIPsolve(subscip); in setupAndSolve() 891 nsubsols = SCIPgetNSols(subscip); in setupAndSolve() 892 subsols = SCIPgetSols(subscip); in setupAndSolve() 949 SCIP* subscip; in applyCompletesol() local 993 SCIP_CALL( SCIPcreate(&subscip) ); in applyCompletesol() [all …]
|
H A D | heur_subnlp.c | 170 assert(heurdata->subscip == NULL); in createSubSCIP() 1360 …SCIPgetNLPTermstat(heurdata->subscip), SCIPgetNLPSolstat(heurdata->subscip), SCIPgetNLPObjval(heur… in solveSubNLP() 1546 SCIPgetNLPObjval(heurdata->subscip), SCIPgetObjlimit(heurdata->subscip)); in solveSubNLP() 1551 if( heurdata->subscip != NULL ) in solveSubNLP() 1784 if( heurdata->subscip == NULL ) in SCIPapplyHeurSubNlp() 1795 if( SCIPgetNBinVars(heurdata->subscip) || SCIPgetNIntVars(heurdata->subscip) ) in SCIPapplyHeurSubNlp() 1885 if( heurdata->subscip == NULL ) in SCIPapplyHeurSubNlp() 1919 else if( SCIPgetNBinVars(heurdata->subscip) || SCIPgetNIntVars(heurdata->subscip) ) in SCIPapplyHeurSubNlp() 1992 if( SCIPgetNBinVars(heurdata->subscip) || SCIPgetNIntVars(heurdata->subscip) ) in SCIPresolveSolHeurSubNlp() 2077 else if( SCIPgetNBinVars(heurdata->subscip) || SCIPgetNIntVars(heurdata->subscip) ) in SCIPresolveSolHeurSubNlp() [all …]
|
H A D | cons_components.c | 314 SCIP* subscip; in componentSetupWorkingSol() local 318 subscip = component->subscip; in componentSetupWorkingSol() 947 SCIPgetStatus(subscip), SCIPgetSolvingTime(subscip)); in solveAndEvalSubscip() 1001 SCIP* subscip; in solveComponent() local 1016 subscip = component->subscip; in solveComponent() 1055 || SCIPisLT(subscip, SCIPgetSolOrigObj(subscip, compsol), SCIPgetPrimalbound(subscip)) ) in solveComponent() 1061 … SCIPgetStage(subscip) == SCIP_STAGE_PROBLEM ? SCIPinfinity(subscip) : SCIPgetPrimalbound(subscip), in solveComponent() 1150 status, SCIPgetNNodes(subscip), SCIPgetSolvingTime(subscip), 100.0*SCIPgetGap(subscip), in solveComponent() 1151 SCIPgetPrimalbound(subscip) - SCIPgetDualbound(subscip)); in solveComponent() 1164 if( SCIPisInfinity(subscip, SCIPgetPrimalbound(subscip)) ) in solveComponent() [all …]
|
H A D | heur_padm.c | 208 block->subscip = NULL; in initBlock() 238 if( block->subscip != NULL ) in freeBlock() 362 assert(subscip != NULL); in copyToSubscip() 432 if( block->subscip != NULL ) in blockCreateSubscip() 442 block->subscip = NULL; in blockCreateSubscip() 457 …SCIP_Real)(SCIPgetNOrigVars(block->subscip) + SCIPgetNOrigIntVars(block->subscip) + SCIPgetNOrigBi… in blockCreateSubscip() 604 assert(subscip != NULL); in reuseSolution() 607 nsols = SCIPgetNSols(subscip); in reuseSolution() 615 sols = SCIPgetSols(subscip); in reuseSolution() 619 nvars = SCIPgetNVars(subscip); in reuseSolution() [all …]
|
H A D | heur_repair.c | 492 assert(subscip != NULL); in createNewSol() 525 SCIP* subscip = NULL; in applyRepair() local 556 SCIP_CALL( SCIPcreate(&subscip) ); in applyRepair() 561 …if( SCIPfindBranchrule(subscip, "inference") != NULL && !SCIPisParamFixed(subscip, "branching/infe… in applyRepair() 929 SCIP_CALL( SCIPsetObjlimit(subscip,1.0) ); in applyRepair() 944 retcode = SCIPsolve(subscip); in applyRepair() 959 if( SCIPgetBestSol(subscip) != NULL ) in applyRepair() 962 heurdata->improvedoldsol = SCIPgetSolOrigObj(subscip, SCIPgetBestSol(subscip)); in applyRepair() 967 assert(SCIPgetNSols(subscip) > 0); in applyRepair() 968 SCIP_CALL( createNewSol(scip, subscip, subvars, heur, SCIPgetBestSol(subscip), &success) ); in applyRepair() [all …]
|
H A D | heur_crossover.c | 600 assert(subscip != NULL); in setupAndSolveSubscipCrossover() 646 SCIP_CALL( SCIPcopyLimits(scip, subscip) ); in setupAndSolveSubscipCrossover() 660 …if( SCIPfindNodesel(subscip, "estimate") != NULL && !SCIPisParamFixed(subscip, "nodeselection/esti… in setupAndSolveSubscipCrossover() 672 …if( SCIPfindBranchrule(subscip, "inference") != NULL && !SCIPisParamFixed(subscip, "branching/infe… in setupAndSolveSubscipCrossover() 700 …if( SCIPfindConshdlr(subscip, "quadratic") != NULL && !SCIPisParamFixed(subscip, "constraints/quad… in setupAndSolveSubscipCrossover() 721 SCIP_CALL( SCIPsetObjlimit(subscip, cutoff) ); in setupAndSolveSubscipCrossover() 730 SCIP_CALL( SCIPtransformProb(subscip) ); in setupAndSolveSubscipCrossover() 742 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in setupAndSolveSubscipCrossover() 757 if( SCIPgetNSols(subscip) > 0 ) in setupAndSolveSubscipCrossover() 1022 SCIP_CALL( SCIPcreate(&subscip) ); in SCIP_DECL_HEUREXEC() [all …]
|
H A D | heur_trustregion.c | 187 lhs = -SCIPinfinity(subscip); in addTrustRegionConstraints() 209 SCIP_CALL( SCIPaddCons(subscip, cons) ); in addTrustRegionConstraints() 210 SCIP_CALL( SCIPreleaseCons(subscip, &cons) ); in addTrustRegionConstraints() 331 assert(subscip != NULL); in setupAndSolveSubscipTrustregion() 386 SCIP_CALL( SCIPtransformProb(subscip) ); in setupAndSolveSubscipTrustregion() 398 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in setupAndSolveSubscipTrustregion() 413 SCIPgetNNodes(subscip), nsubnodes); in setupAndSolveSubscipTrustregion() 423 …if( SCIPgetStatus(subscip) == SCIP_STATUS_NODELIMIT || SCIPgetStatus(subscip) == SCIP_STATUS_STALL… in setupAndSolveSubscipTrustregion() 446 SCIP* subscip; in SCIP_DECL_HEUREXEC() local 542 SCIP_CALL( SCIPcreate(&subscip) ); in SCIP_DECL_HEUREXEC() [all …]
|
H A D | sepa_cgmip.c | 318 subscip = mipdata->subscip; in solCutIsViolated() 1102 subscip = mipdata->subscip; in createSubscip() 2042 subscip = mipdata->subscip; in subscipSetParams() 2431 subscip = mipdata->subscip; in solveSubscip() 2516 SCIPgetDualbound(subscip), SCIPgetSolvingTime(subscip), SCIPgetNNodes(subscip), nodelimit); in solveSubscip() 2753 subscip = mipdata->subscip; in computeCut() 3308 subscip = mipdata->subscip; in createCGCutDirect() 3495 subscip = mipdata->subscip; in createCGCutCMIR() 3783 subscip = mipdata->subscip; in createCGCutStrongCG() 4000 subscip = mipdata->subscip; in createCGCuts() [all …]
|
H A D | heur_localbranching.c | 147 assert(subscip != NULL); in addLocalbranchingConstraintAndObjcutoff() 199 SCIP_CALL( SCIPaddCons(subscip, cons) ); in addLocalbranchingConstraintAndObjcutoff() 200 SCIP_CALL( SCIPreleaseCons(subscip, &cons) ); in addLocalbranchingConstraintAndObjcutoff() 218 SCIP_CALL( SCIPsetObjlimit(subscip, cutoff) ); in addLocalbranchingConstraintAndObjcutoff() 341 assert(subscip != NULL); in setupAndSolveSubscipLocalbranching() 397 SCIP_CALL( SCIPtransformProb(subscip) ); in setupAndSolveSubscipLocalbranching() 408 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in setupAndSolveSubscipLocalbranching() 423 SCIPgetNNodes(subscip), nsubnodes); in setupAndSolveSubscipLocalbranching() 432 switch( SCIPgetStatus(subscip) ) in setupAndSolveSubscipLocalbranching() 583 SCIP_CALL( SCIPcreate(&subscip) ); in SCIP_DECL_HEUREXEC() [all …]
|
H A D | heur_oneopt.c | 252 assert(subscip != NULL); in setupAndSolveSubscipOneopt() 263 SCIP_CALL( SCIPtransformProb(subscip) ); in setupAndSolveSubscipOneopt() 266 SCIP_CALL( SCIPcreateOrigSol(subscip, &startsol, NULL) ); in setupAndSolveSubscipOneopt() 285 SCIP_CALL( SCIPcopyLimits(scip, subscip) ); in setupAndSolveSubscipOneopt() 301 if( SCIPisParamFixed(subscip, "lp/solvefreq") ) in setupAndSolveSubscipOneopt() 304 SCIP_CALL( SCIPunfixParam(subscip, "lp/solvefreq") ); in setupAndSolveSubscipOneopt() 308 if( SCIPisParamFixed(subscip, "heuristics/oneopt/freq") ) in setupAndSolveSubscipOneopt() 338 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in setupAndSolveSubscipOneopt() 341 SCIP_CALL( SCIPprintStatistics(subscip, NULL) ); in setupAndSolveSubscipOneopt() 524 SCIP_CALL( SCIPcreate(&subscip) ); in SCIP_DECL_HEUREXEC() [all …]
|
H A D | heur_locks.c | 847 SCIP* subscip; in SCIP_DECL_HEUREXEC() local 882 SCIP_CALL( SCIPcreate(&subscip) ); in SCIP_DECL_HEUREXEC() 918 SCIP_CALL( SCIPcopyLimits(scip, subscip) ); in SCIP_DECL_HEUREXEC() 932 …if( SCIPfindBranchrule(subscip, "inference") != NULL && !SCIPisParamFixed(subscip, "branching/infe… in SCIP_DECL_HEUREXEC() 946 …if( SCIPfindConshdlr(subscip, "quadratic") != NULL && !SCIPisParamFixed(subscip, "constraints/quad… in SCIP_DECL_HEUREXEC() 988 retstat = SCIPpresolve(subscip); in SCIP_DECL_HEUREXEC() 997 SCIP_CALL_ABORT( SCIPpresolve(subscip) ); in SCIP_DECL_HEUREXEC() 1014 retstat = SCIPsolve(subscip); in SCIP_DECL_HEUREXEC() 1023 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in SCIP_DECL_HEUREXEC() 1039 heurdata->usednodes += SCIPgetNNodes(subscip); in SCIP_DECL_HEUREXEC() [all …]
|
/dports/math/SCIP/scip-7.0.3/applications/CycleClustering/src/ |
H A D | heur_redsize.c | 71 binvars = SCIPcycGetBinvars(subscip); in SCIPcycAddIncompleteSol() 180 SCIP* subscip; in SCIPapplyRedSize() local 212 SCIP_CALL( SCIPcreate(&subscip) ); in SCIPapplyRedSize() 213 SCIP_CALL( SCIPincludeCycPlugins(subscip) ); in SCIPapplyRedSize() 243 SCIP_CALL( SCIPsetSubscipsOff(subscip, TRUE) ); in SCIPapplyRedSize() 255 …if( SCIPfindNodesel(subscip, "estimate") != NULL && !SCIPisParamFixed(subscip, "nodeselection/esti… in SCIPapplyRedSize() 261 …if( SCIPfindBranchrule(subscip, "inference") != NULL && !SCIPisParamFixed(subscip, "branching/infe… in SCIPapplyRedSize() 281 SCIP_CALL_ABORT( SCIPsolve(subscip) ); in SCIPapplyRedSize() 289 nsubsols = SCIPgetNSols(subscip); in SCIPapplyRedSize() 290 subsols = SCIPgetSols(subscip); in SCIPapplyRedSize() [all …]
|
/dports/math/SCIP/scip-7.0.3/examples/Binpacking/src/ |
H A D | pricer_binpacking.c | 142 assert( subscip != NULL ); in addBranchingDecisionConss() 406 SCIPfreeBufferArray(subscip, &vals); in initPricing() 504 SCIP* subscip; in SCIP_DECL_PRICERREDCOST() local 544 SCIP_CALL( SCIPcreate(&subscip) ); in SCIP_DECL_PRICERREDCOST() 570 SCIP_CALL( SCIPsolve(subscip) ); in SCIP_DECL_PRICERREDCOST() 572 sols = SCIPgetSols(subscip); in SCIP_DECL_PRICERREDCOST() 573 nsols = SCIPgetNSols(subscip); in SCIP_DECL_PRICERREDCOST() 585 …assert(s == 0 || SCIPisFeasGE(subscip, SCIPgetSolOrigObj(subscip, sols[s-1]), SCIPgetSolOrigObj(su… in SCIP_DECL_PRICERREDCOST() 600 if( SCIPisFeasGT(subscip, SCIPgetSolOrigObj(subscip, sol), 1.0) ) in SCIP_DECL_PRICERREDCOST() 635 assert( SCIPisFeasEQ(subscip, SCIPgetSolVal(subscip, sol, vars[v]), 0.0) ); in SCIP_DECL_PRICERREDCOST() [all …]
|
/dports/math/SCIP/scip-7.0.3/applications/Ringpacking/src/ |
H A D | pricer_rpa.c | 269 if( SCIPgetNSols(subscip) == 0 ) in extractVariablesMINLP() 275 sol = SCIPgetBestSol(subscip); in extractVariablesMINLP() 280 if( SCIPisFeasGE(subscip, 1.0 + SCIPgetSolOrigObj(subscip, sol), 0.0) ) in extractVariablesMINLP() 513 SCIP* subscip; in solvePricingMINLP() local 559 SCIP_CALL( SCIPcreate(&subscip) ); in solvePricingMINLP() 568 SCIPsetMessagehdlrQuiet(subscip, TRUE); in solvePricingMINLP() 675 0.0, SCIPinfinity(subscip)) ); in solvePricingMINLP() 698 0.0, SCIPinfinity(subscip)) ); in solvePricingMINLP() 715 SCIP_CALL( SCIPsolve(subscip) ); in solvePricingMINLP() 720 *solstat = SCIPgetStatus(subscip); in solvePricingMINLP() [all …]
|
/dports/math/SCIP/scip-7.0.3/examples/Eventhdlr/src/ |
H A D | event_boundwriting.c | 136 assert(subscip != NULL); in applyDomainChanges() 206 SCIP* subscip; in writeBoundsFocusNode() local 211 SCIP_CALL( SCIPcreate(&subscip) ); in writeBoundsFocusNode() 223 SCIP_CALL( SCIPsetIntParam(subscip, "display/verblevel", 0) ); in writeBoundsFocusNode() 237 SCIP_CALL( SCIPsolve(subscip) ); in writeBoundsFocusNode() 239 cutoff = (SCIPgetStatus(subscip) == SCIP_STATUS_INFEASIBLE); in writeBoundsFocusNode() 249 SCIP_CALL( SCIPfree(&subscip) ); in writeBoundsFocusNode() 324 SCIP* subscip; in writeBounds() local 332 SCIP_CALL( SCIPcreate(&subscip) ); in writeBounds() 392 SCIP_CALL( SCIPsolve(subscip) ); in writeBounds() [all …]
|