/dports/math/SCIP/scip-7.0.3/applications/CycleClustering/src/ |
H A D | probdata_cyc.c | 278 char consname[SCIP_MAXSTRLEN]; in createProbSimplifiedTest() local 292 (void)SCIPsnprintf(consname, SCIP_MAXSTRLEN, "setpart_%d", i+1 ); in createProbSimplifiedTest() 421 char consname[SCIP_MAXSTRLEN]; in createProbSimplified() local 433 (void)SCIPsnprintf(consname, SCIP_MAXSTRLEN, "setpart_%d", i+1); in createProbSimplified() 608 (void)SCIPsnprintf(consname, SCIP_MAXSTRLEN, "cluster_%d_used", c1); in createProbSimplified() 636 char consname[SCIP_MAXSTRLEN]; in createProbQP() local 700 (void)SCIPsnprintf(consname, SCIP_MAXSTRLEN, "setpart_%d", i+1); in createProbQP() 716 (void)SCIPsnprintf(consname, SCIP_MAXSTRLEN, "cluster_%d_used", c1); in createProbQP() 730 (void)SCIPsnprintf(consname, SCIP_MAXSTRLEN, "irrev_%d", c); in createProbQP() 754 (void)SCIPsnprintf(consname, SCIP_MAXSTRLEN, "coh_%d", c); in createProbQP() [all …]
|
/dports/math/SCIP/scip-7.0.3/src/scip/ |
H A D | reader_gms.c | 645 appendLine(scip, file, linebuffer, &linecnt, consname); in printQuadraticRow() 947 char consname[GMS_MAX_NAMELEN + 30]; in printIndicatorCons() local 1023 …d) SCIPsnprintf(buffer, GMS_MAX_PRINTLEN, " %s(sosset).. %s_sos(sosset) =e= ", consname, consname); in printIndicatorCons() 1075 char consname[GMS_MAX_NAMELEN + 30]; in printSOSCons() local 1095 …var(%s_sosset); %s_sosvar.lo(%s_sosset) = -inf;", sostype, consname, consname, consname, consname); in printSOSCons() 1099 …AX_PRINTLEN, " %s(%s_sosset).. %s_sosvar(%s_sosset) =e= ", consname, consname, consname, consname); in printSOSCons() 2271 char consname[GMS_MAX_NAMELEN]; in SCIPwriteGms() local 2576 … (void) SCIPsnprintf(buffer, GMS_MAX_PRINTLEN, " %s%s%s%s", consname, "_lhs, ", consname, "_rhs"); in SCIPwriteGms() 2781 SCIP_CALL( printSOCCons(scip, file, consname, in SCIPwriteGms() 2806 SCIP_CALL( printSOSCons(scip, file, consname, in SCIPwriteGms() [all …]
|
H A D | reader_dec.c | 166 char consname[SCIP_MAXSTRLEN]; in readDecomposition() local 231 nread = sscanf(buffer, "%1024s\n", consname); in readDecomposition() 235 cons = SCIPfindCons(scip, consname); in readDecomposition() 239 … SCIPwarningMessage(scip, "Constraint <%s> in line %d does not exist.\n", consname, lineno); in readDecomposition()
|
H A D | reader_lp.c | 2694 appendLine(scip, file, linebuffer, &linecnt, consname); in printRow() 2991 appendLine(scip, file, linebuffer, &linecnt, consname); in printSOCCons() 3117 assert(consname != NULL); in printAndCons() 3257 char consname[LP_MAX_NAMELEN]; in printAggregatedCons() local 3614 char consname[LP_MAX_NAMELEN]; in SCIPwriteLp() local 3804 SCIP_CALL( printQuadraticCons(scip, file, consname, in SCIPwriteLp() 3816 SCIP_CALL( printQuadraticCons(scip, file, consname, in SCIPwriteLp() 3820 SCIP_CALL( printQuadraticCons(scip, file, consname, in SCIPwriteLp() 3831 SCIP_CALL( printQuadraticCons(scip, file, consname, in SCIPwriteLp() 3919 if( strlen(consname) > 0 ) in SCIPwriteLp() [all …]
|
H A D | reader_tim.c | 144 const char* consname /**< the name of the constraint to add to the stage */ in addConstraintToStage() argument 152 cons = SCIPfindCons(scip, consname); in addConstraintToStage() 161 SCIP_CALL( SCIPhashmapInsert(stage->consnametocons, (void*) consname, cons) ); in addConstraintToStage() 499 const char* consname, /**< name of the constraint that starts the stage */ in timinputSetStageStartCons() argument 504 assert(consname != NULL); in timinputSetStageStartCons() 506 …uplicateBlockMemoryArray(scip, &timi->stagestartcons[stagenum], consname, strlen(consname) + 1) );… in timinputSetStageStartCons() 971 const char* consname /**< the constraint to search for */ in SCIPtimConsGetStageName() argument 994 if( strcmp(SCIPconsGetName(readerdata->stages[i]->conss[j]), consname) == 0 ) in SCIPtimConsGetStageName()
|
H A D | reader_mps.c | 2689 assert(consnamefreq->consname != NULL); in SCIP_DECL_HASHGETKEY() 2691 return (void*)consnamefreq->consname; in SCIP_DECL_HASHGETKEY() 3015 matrix->rows[matrix->nentries] = consname; in getLinearCoeffs() 3166 char* consname; in checkConsnames() local 3202 consnamefreqs[i].consname = SCIPconsGetName(cons); in checkConsnames() 3235 (*consnames)[i] = consname; in checkConsnames() 3896 const char* consname; in SCIPwriteMps() local 4117 consname = consnames[c]; in SCIPwriteMps() 4134 printRowType(scip, file, lhs, rhs, consname); in SCIPwriteMps() 4154 printRowType(scip, file, 1.0, 1.0, consname); in SCIPwriteMps() [all …]
|
H A D | heur_clique.c | 450 char consname[SCIP_MAXSTRLEN]; in applyCliqueFixings() local 453 …(void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "conf%" SCIP_LONGINT_FORMAT "", SCIPgetNNodes(scip)); in applyCliqueFixings() 466 … SCIP_CALL( SCIPcreateConsLogicor(scip, &conflictcons, consname, *nonefixvars, onefixvars, in applyCliqueFixings() 581 char consname[SCIP_MAXSTRLEN]; in SCIP_DECL_HEUREXEC() local 812 …(void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "conf%" SCIP_LONGINT_FORMAT "", SCIPgetNNodes(scip)); in SCIP_DECL_HEUREXEC() 825 SCIP_CALL( SCIPcreateConsLogicor(scip, &conflictcons, consname, nonefixvars, onefixvars, in SCIP_DECL_HEUREXEC() 988 …(void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "conf%" SCIP_LONGINT_FORMAT "", SCIPgetNNodes(scip)); in SCIP_DECL_HEUREXEC() 1001 SCIP_CALL( SCIPcreateConsLogicor(scip, &conflictcons, consname, nonefixvars, onefixvars, in SCIP_DECL_HEUREXEC()
|
H A D | reader_pip.c | 2157 appendLine(scip, file, linebuffer, &linecnt, consname); in printRow() 2293 appendLine(scip, file, linebuffer, &linecnt, consname); in printRowNl() 2859 char consname[PIP_MAX_NAMELEN]; in printAggregatedCons() local 3062 char consname[PIP_MAX_NAMELEN]; in SCIPwritePip() local 3165 SCIP_CALL( printQuadraticCons(scip, file, consname, in SCIPwritePip() 3177 SCIP_CALL( printQuadraticCons(scip, file, consname, in SCIPwritePip() 3181 SCIP_CALL( printQuadraticCons(scip, file, consname, in SCIPwritePip() 3185 SCIP_CALL( printQuadraticCons(scip, file, consname, in SCIPwritePip() 3192 SCIP_CALL( printQuadraticCons(scip, file, consname, in SCIPwritePip() 3233 SCIP_CALL( printQuadraticCons(scip, file, consname, in SCIPwritePip() [all …]
|
H A D | reader_tim.h | 104 const char* consname /**< the constraint to search for */
|
H A D | reader.c | 282 const char* consname; in SCIPreaderWrite() local 442 consname = SCIPconsGetName(cons); in SCIPreaderWrite() 443 SCIPsetFreeBufferArray(set, &consname); in SCIPreaderWrite()
|
H A D | heur_localbranching.c | 141 char consname[SCIP_MAXSTRLEN]; in addLocalbranchingConstraintAndObjcutoff() local 153 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "%s_localbranchcons", SCIPgetProbName(scip)); in addLocalbranchingConstraintAndObjcutoff() 197 SCIP_CALL( SCIPcreateConsLinear(subscip, &cons, consname, nconsvars, consvars, consvals, in addLocalbranchingConstraintAndObjcutoff()
|
H A D | cons_xor.c | 985 char consname[SCIP_MAXSTRLEN]; in applyFixings() local 1089 char consname[SCIP_MAXSTRLEN]; in applyFixings() local 3520 char consname[SCIP_MAXSTRLEN]; in cliquePresolve() local 3523 SCIP_CALL( SCIPcreateConsSetpart(scip, &newcons, consname, nvars, vars, in cliquePresolve() 3568 char consname[SCIP_MAXSTRLEN]; in cliquePresolve() local 3577 SCIP_CALL( SCIPcreateConsSetpart(scip, &newcons, consname, 0, NULL, in cliquePresolve() 3603 SCIP_CALL( SCIPcreateConsSetpart(scip, &newcons, consname, nvars, vars, in cliquePresolve() 4226 char consname[SCIP_MAXSTRLEN]; in preprocessConstraintPairs() local 5438 const char* consname; in SCIP_DECL_CONSCOPY() local 5458 consname = name; in SCIP_DECL_CONSCOPY() [all …]
|
H A D | cons_superindicator.c | 1634 const char* consname; in SCIP_DECL_CONSCOPY() local 1644 consname = name; in SCIP_DECL_CONSCOPY() 1646 consname = SCIPconsGetName(sourcecons); in SCIP_DECL_CONSCOPY() 1648 …g(scip, "copying superindicator constraint <%s> to <%s>\n", SCIPconsGetName(sourcecons), consname); in SCIP_DECL_CONSCOPY() 1726 SCIP_CALL( SCIPcreateConsSuperindicator(scip, cons, consname, targetbinvar, targetslackcons, in SCIP_DECL_CONSCOPY() 2160 char consname[SCIP_MAXSTRLEN]; in SCIPtransformMinUC() local 2224 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "%s_super", SCIPconsGetName(cons)); in SCIPtransformMinUC() 2226 retcode = SCIPcreateConsSuperindicator(scip, &supindcons, consname, negbinvar, cons, in SCIPtransformMinUC()
|
H A D | reader_osil.c | 493 const char* consname; in readConstraints() local 505 consname = xmlGetAttrval(consnode, "name"); in readConstraints() 506 if( consname == NULL ) in readConstraints() 509 consname = name; in readConstraints() 516 …rMessage("Constraint attribute 'mult' not supported (while parsing constraint <%s>).\n", consname); in readConstraints() 534 …rrorMessage("Error parsing constraint lower bound '%s' for constraint <%s>.\n", attrval, consname); in readConstraints() 553 …rrorMessage("Error parsing constraint upper bound '%s' for constraint <%s>.\n", attrval, consname); in readConstraints() 568 …IPerrorMessage("Error parsing constraint constant '%s' for constraint <%s>.\n", attrval, consname); in readConstraints() 579 …SCIP_CALL( SCIPcreateConsLinear(scip, &(*conss)[*nconss], consname, 0, NULL, NULL, conslhs, consrh… in readConstraints()
|
H A D | heur_dualval.c | 889 char consname[SCIP_MAXSTRLEN]; in createSubSCIP() local 1213 … (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "linking_%s", SCIPvarGetName(indicatorbinvar)); in createSubSCIP() 1215 … SCIP_CALL( SCIPcreateConsLinear( heurdata->subscip, &cons, consname, 0, NULL, NULL, 0.0, 0.0, in createSubSCIP() 1330 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "relax_%s", SCIPvarGetName(var)); in createSubSCIP() 1332 SCIP_CALL( SCIPcreateConsLinear( heurdata->subscip, &cons, consname, 0, NULL, NULL, 0.0, 0.0, in createSubSCIP() 1393 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "relax_ub_%s", SCIPvarGetName(var)); in createSubSCIP() 1395 …SCIP_CALL( SCIPcreateConsLinear( heurdata->subscip, &cons, consname, 0, NULL, NULL, -SCIPinfinity(… in createSubSCIP() 1412 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "relax_lb_%s", SCIPvarGetName(var)); in createSubSCIP() 1414 …SCIP_CALL( SCIPcreateConsLinear( heurdata->subscip, &cons, consname, 0, NULL, NULL, SCIPvarGetLbGl… in createSubSCIP() 1437 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "objbound"); in createSubSCIP() [all …]
|
H A D | heur_dins.c | 382 char consname[SCIP_MAXSTRLEN]; in addLocalBranchingConstraint() local 388 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "%s_dinsLBcons", SCIPgetProbName(scip)); in addLocalBranchingConstraint() 430 SCIP_CALL( SCIPcreateConsLinear(subscip, &cons, consname, nconsvars, consvars, consvals, in addLocalBranchingConstraint()
|
H A D | cons_and.c | 2527 char consname[SCIP_MAXSTRLEN]; in dualPresolve() local 2540 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "%s_%d", SCIPconsGetName(cons), v); in dualPresolve() 3921 char consname[SCIP_MAXSTRLEN]; in SCIP_DECL_CONSINITPRE() local 3957 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "%s_%d", SCIPconsGetName(cons), v); in SCIP_DECL_CONSINITPRE() 3960 … SCIP_CALL( SCIPcreateConsLinear(scip, &newcons, consname, 2, vars, vals, -SCIPinfinity(scip), 0.0, in SCIP_DECL_CONSINITPRE() 3987 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "%s_operators", SCIPconsGetName(cons)); in SCIP_DECL_CONSINITPRE() 4003 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "%s_add", SCIPconsGetName(cons)); in SCIP_DECL_CONSINITPRE() 4686 const char* consname; in SCIP_DECL_CONSCOPY() local 4724 consname = name; in SCIP_DECL_CONSCOPY() 4726 consname = SCIPconsGetName(sourcecons); in SCIP_DECL_CONSCOPY() [all …]
|
/dports/math/SCIP/scip-7.0.3/examples/CallableLibrary/src/ |
H A D | brachistochrone.c | 175 char consname[SCIP_MAXSTRLEN]; in setupProblem() local 236 SCIPsnprintf(consname, SCIP_MAXSTRLEN, "timestep(%d)", i); in setupProblem() 237 SCIP_CALL( SCIPcreateConsBasicNonlinear(scip, &cons, consname, 1, &v[i], in setupProblem() 249 SCIPsnprintf(consname, SCIP_MAXSTRLEN, "steplength(%d)", i); in setupProblem() 250 …SCIP_CALL( SCIPcreateConsBasicQuadratic(scip, &cons, consname, 0, NULL, NULL, 0, NULL, NULL, NULL,… in setupProblem() 264 SCIPsnprintf(consname, SCIP_MAXSTRLEN, "xorder(%d)", i); in setupProblem() 265 …SCIP_CALL( SCIPcreateConsBasicLinear(scip, &cons, consname, 0, NULL, NULL, -SCIPinfinity(scip), 0.… in setupProblem()
|
/dports/math/SCIP/scip-7.0.3/applications/STP/src/ |
H A D | branch_stp.c | 608 const char* consname, /**< constraint name */ in STPStpBranchruleParseConsname() argument 613 if( strncmp(consname, "consin", 6) == 0 ) in STPStpBranchruleParseConsname() 616 const int term = (int) strtol(consname + 6, &tailptr, 10); in STPStpBranchruleParseConsname() 641 else if( strncmp(consname, "consout", 7) == 0 ) in STPStpBranchruleParseConsname() 644 const int vert = (int) strtol(consname + 7, &tailptr, 10); in STPStpBranchruleParseConsname() 729 char* consname; in SCIPStpBranchruleApplyVertexChgs() local 738 consname = (char*) SCIPconsGetName(parentcons); in SCIPStpBranchruleApplyVertexChgs() 740 SCIP_CALL( STPStpBranchruleParseConsname(scip, vertexchgs, graph, consname, TRUE) ); in SCIPStpBranchruleApplyVertexChgs()
|
H A D | probdata_stp.c | 605 char consname[SCIP_MAXSTRLEN]; in createDegreeConstraints() local 645 char consname[SCIP_MAXSTRLEN]; in createPrizeConstraints() local 681 (void)SCIPsnprintf(consname, SCIP_MAXSTRLEN, "PrizeConstraint"); in createPrizeConstraints() 724 char consname[SCIP_MAXSTRLEN]; in createFlowBalanceConstraints() local 765 char consname[SCIP_MAXSTRLEN]; in createConstraints() local 822 (void)SCIPsnprintf(consname, SCIP_MAXSTRLEN, "PathConstraint%d", t); in createConstraints() 3641 const char* consname = getBranchLinearConsName(linearConsNames, i); in initReceivedSubproblem() local 3642 SCIPdebugMessage("add lin cons %s \n", consname); in initReceivedSubproblem() 3643 if( consname != NULL) in initReceivedSubproblem() 3650 SCIPdebugMessage("add ppc cons %s \n", consname); in initReceivedSubproblem() [all …]
|
H A D | branch_stp.h | 46 const char* consname, /**< constraint name */
|
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/heuristics/ |
H A D | cons_rowcuts.cpp | 123 char consname[SCIP_MAXSTRLEN]; in checkRowcuts() local 143 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "rowcut", i); in checkRowcuts() 146 SCIP_CALL_ABORT( SCIPcreateConsLinear(scip, &cons, consname, 0, NULL, NULL, lhs, rhs, in checkRowcuts()
|
H A D | CouenneFPscipSolve.cpp | 229 char consname[SCIP_MAXSTRLEN]; in ScipSolve() local 230 (void) SCIPsnprintf(consname, SCIP_MAXSTRLEN, "row_%d", i); in ScipSolve() 237 SCIP_CALL( SCIPcreateConsLinear(scip, &cons, consname, 0, NULL, NULL, lhss[i], rhss[i], in ScipSolve()
|
/dports/math/SCIP/scip-7.0.3/examples/TSP/src/ |
H A D | ReaderTSP.cpp | 437 stringstream consname; in SCIP_DECL_READERREAD() local 438 consname << "deg_con_v" << node->id+1; in SCIP_DECL_READERREAD() 441 … SCIP_CALL( SCIPcreateConsLinear(scip, &cons, consname.str().c_str(), 0, NULL, NULL, 2.0, 2.0, in SCIP_DECL_READERREAD()
|
/dports/astro/stellarium/stellarium-0.21.3/src/core/modules/ |
H A D | ConstellationMgr.cpp | 1366 QString consname, data = ""; in loadBoundaries() local 1415 istr >> consname; in loadBoundaries() 1417 if (consname == "SER1" || consname == "SER2") consname = "SER"; in loadBoundaries() 1419 cons = findFromAbbreviation(consname); in loadBoundaries() 1421 qWarning() << "ERROR while processing boundary file - cannot find constellation: " << consname; in loadBoundaries()
|