/dports/math/SCIP/scip-7.0.3/examples/CallableLibrary/src/ |
H A D | circlepacking.c | 117 …fprintf(stream, "plt.title('Number of circles = %d')\n", (int)SCIPround(scip, SCIPgetSolOrigObj(sc… in visualizeSolutionMatplotlib() 163 …fprintf(stream, "set xlabel \"Number of circles = %d\"\n", (int)SCIPround(scip, SCIPgetSolOrigObj(… in visualizeSolutionGnuplot() 247 xcoord = SCIPround(scip, scalex * (xval + radius * cos(phi))) + 1; /* +1 for border */ in visualizeSolutionAscii() 248 ycoord = SCIPround(scip, scaley * (yval + radius * sin(phi))) + 1; /* +1 for border */ in visualizeSolutionAscii()
|
/dports/math/SCIP/scip-7.0.3/src/scip/ |
H A D | presol_trivial.c | 169 fixval = SCIPround(scip, lb); in SCIP_DECL_PRESOLEXEC()
|
H A D | scip_numerics.h | 338 SCIP_Real SCIPround( 778 #define SCIPround(scip, val) SCIPsetRound((scip)->set, val) macro
|
H A D | reader_opb.c | 2505 …n", mult, SCIPvarGetObj(var), SCIPvarGetObj(var) * mult, (SCIP_Longint) SCIPround(scip, SCIPvarGet… in writeOpbObjective() 2644 …ng in opb format.\n", *mult, vals[v], vals[v] * (*mult), (SCIP_Longint) SCIPround(scip, vals[v] * … in printNLRow() 2649 (SCIP_Longint) SCIPround(scip, vals[v] * (*mult)), multisymbol, negated ? "~" : "", in printNLRow() 2666 …(SCIP_Longint) SCIPround(scip, vals[v] * (*mult)), multisymbol, negated ? "~" : "", strstr(SCIPvar… in printNLRow() 2855 …ng in opb format.\n", *mult, vals[v], vals[v] * (*mult), (SCIP_Longint) SCIPround(scip, vals[v] * … in printRow() 2859 …(SCIP_Longint) SCIPround(scip, vals[v] * (*mult)), multisymbol, negated ? "~" : "", strstr(SCIPvar… in printRow() 3064 …(SCIP_Longint) SCIPround(scip, linvals[v] * (*mult)), multisymbol, negated ? "~" : "", strstr(SCIP… in printPBRow() 3071 …rintf(buffer, OPB_MAX_LINELEN, "%+" SCIP_LONGINT_FORMAT, (SCIP_Longint) SCIPround(scip, termvals[t… in printPBRow()
|
H A D | scip_numerics.c | 70 #undef SCIPround 648 SCIP_Real SCIPround( in SCIPround() function
|
H A D | reader_pip.c | 3370 if( SCIPisIntegral(scip, exponent) && ((int)SCIPround(scip, exponent) % 2 == 1) ) in SCIPwritePip() 3374 … SCIPexprCreate(SCIPblkmem(scip), &expr, SCIP_EXPR_INTPOWER, expr, (int)SCIPround(scip, exponent))… in SCIPwritePip() 3376 …else if( SCIPisIntegral(scip, exponent) && ((int)SCIPround(scip, exponent) % 2 == 0) && !SCIPisPos… in SCIPwritePip() 3380 … SCIPexprCreate(SCIPblkmem(scip), &expr, SCIP_EXPR_INTPOWER, expr, (int)SCIPround(scip, exponent))… in SCIPwritePip()
|
H A D | cuts.c | 776 intval = SCIPround(scip, QUAD_TO_DBL(val)); in cutTightenCoefsQuad() 841 maxact = SCIPround(scip, maxact); in cutTightenCoefsQuad() 933 QUAD_ASSIGN(coef, SCIPround(scip, QUAD_TO_DBL(coef))); in cutTightenCoefsQuad() 980 QUAD_ASSIGN(coef, SCIPround(scip, QUAD_TO_DBL(coef))); in cutTightenCoefsQuad() 1152 intval = SCIPround(scip, val); in cutTightenCoefs() 1215 maxact = SCIPround(scip, maxact); in cutTightenCoefs() 1295 QUAD_ASSIGN(coef, SCIPround(scip, QUAD_TO_DBL(coef))); in cutTightenCoefs() 1341 QUAD_ASSIGN(coef, SCIPround(scip, QUAD_TO_DBL(coef))); in cutTightenCoefs() 8425 k = SCIPround(scip, ceil(QUAD_TO_DBL(tmp)) - 1.0); in SCIPcalcStrongCG()
|
H A D | heur_multistart.c | 730 val = SCIPround(scip, val); in solveNLP()
|
H A D | heur_padm.c | 1242 initval = SCIPround(scip, initval); in SCIP_DECL_HEUREXEC()
|
H A D | sepa_zerohalf.c | 291 return (REALABS(SCIPround(scip, val) - val) > 0.1) ? 1 : 0; in mod2()
|
H A D | heur_subnlp.c | 2029 fixval = SCIPround(scip, fixval); in SCIPresolveSolHeurSubNlp()
|
H A D | reader_osil.c | 1561 …( SCIPexprCreate(SCIPblkmem(scip), expr, SCIP_EXPR_INTPOWER, arg1, (int)SCIPround(scip, SCIPexprGe… in readExpression()
|
H A D | cons_varbound.c | 3151 consdata->vbdcoef = SCIPround(scip, consdata->vbdcoef); in applyFixings() 3176 consdata->vbdcoef = SCIPround(scip, consdata->vbdcoef); in applyFixings()
|
H A D | cons_abspower.c | 4306 n = (int)SCIPround(scip, consdata->exponent); in createNlRow() 4692 …if( SCIPisIntegral(scip, exponent) && ((int)SCIPround(scip, exponent) % 2 == 0) && childbounds.inf… in SCIP_DECL_NONLINCONSUPGD() 5042 …if( SCIPisIntegral(scip, exponent) && ((int)SCIPround(scip, exponent) % 2 == 0) && childbounds.inf… in SCIP_DECL_EXPRGRAPHNODEREFORM()
|
H A D | reader_gms.c | 1744 … (void) SCIPsnprintf(buffer, GMS_MAX_PRINTLEN, ", %d)", (int)SCIPround(scip, exponent)); in printExpr()
|
H A D | cons_nonlinear.c | 2629 SCIPexprgraphGetNodeIntPowerExponent(parent) == (int)SCIPround(scip, exponents[0]) ) in reformMonomial() 2643 …xprgraphCreateNode(SCIPblkmem(scip), &expnode, SCIP_EXPR_INTPOWER, (int)SCIPround(scip, exponents[… in reformMonomial() 3640 …SCIPisIntegral(scip, exponents[0]) && (exponents[0] < 0.0 || ((int)SCIPround(scip, exponents[0]) %… in reformulate()
|
H A D | reader_fzn.c | 4005 (void) SCIPsnprintf(buffer, FZN_BUFFERLEN, "%.1f", SCIPround(scip, val)); in flattenFloat()
|
H A D | cons_quadratic.c | 3948 gcd = (SCIP_Longint)SCIPround(scip, REALABS(bilincoef)); in presolveTryAddLinearReform() 3950 gcd = SCIPcalcGreComDiv(gcd, (SCIP_Longint)SCIPround(scip, REALABS(bilincoef))); in presolveTryAddLinearReform() 16838 roundcoef = SCIPround(scip, coef); in rowprepCleanupIntegralCoefs()
|
/dports/math/polymake/polymake-4.5/bundled/scip/apps/polytope/src/ |
H A D | scip_milp_client.cc | 174 … solution[i] = convert_to<Integer>(SCIPround(scip, SCIPgetSolVal(scip, sol, variables[i]))); in solve_inner()
|
/dports/math/SCIP/scip-7.0.3/examples/SCFLP/src/ |
H A D | reader_scflp.c | 420 …demands[i][j] = SCIPround(scip, generateGaussianNoise(randomgen, mean, stdDev, &spare, &hasspare)); in SCIP_DECL_READERREAD()
|
/dports/math/SCIP/scip-7.0.3/interfaces/ampl/src/ |
H A D | reader_nl.c | 626 …exprCreate(SCIPblkmem(scip), scipexpr, SCIP_EXPR_INTPOWER, child1, (int)SCIPround(scip, SCIPexprGe… in walkExpression() 673 …rCreate(SCIPblkmem(scip), scipexpr, SCIP_EXPR_INTPOWER, *scipexpr, (int)SCIPround(scip, amplexpr->… in walkExpression()
|
/dports/math/SCIP/scip-7.0.3/ |
H A D | CHANGELOG | 4427 - SCIPround() and SCIPfeasRound() to round to nearest integer
|