Home
last modified time | relevance | path

Searched refs:SCIPround (Results 1 – 22 of 22) sorted by relevance

/dports/math/SCIP/scip-7.0.3/examples/CallableLibrary/src/
H A Dcirclepacking.c117 …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 Dpresol_trivial.c169 fixval = SCIPround(scip, lb); in SCIP_DECL_PRESOLEXEC()
H A Dscip_numerics.h338 SCIP_Real SCIPround(
778 #define SCIPround(scip, val) SCIPsetRound((scip)->set, val) macro
H A Dreader_opb.c2505 …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 Dscip_numerics.c70 #undef SCIPround
648 SCIP_Real SCIPround( in SCIPround() function
H A Dreader_pip.c3370 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 Dcuts.c776 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 Dheur_multistart.c730 val = SCIPround(scip, val); in solveNLP()
H A Dheur_padm.c1242 initval = SCIPround(scip, initval); in SCIP_DECL_HEUREXEC()
H A Dsepa_zerohalf.c291 return (REALABS(SCIPround(scip, val) - val) > 0.1) ? 1 : 0; in mod2()
H A Dheur_subnlp.c2029 fixval = SCIPround(scip, fixval); in SCIPresolveSolHeurSubNlp()
H A Dreader_osil.c1561 …( SCIPexprCreate(SCIPblkmem(scip), expr, SCIP_EXPR_INTPOWER, arg1, (int)SCIPround(scip, SCIPexprGe… in readExpression()
H A Dcons_varbound.c3151 consdata->vbdcoef = SCIPround(scip, consdata->vbdcoef); in applyFixings()
3176 consdata->vbdcoef = SCIPround(scip, consdata->vbdcoef); in applyFixings()
H A Dcons_abspower.c4306 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 Dreader_gms.c1744 … (void) SCIPsnprintf(buffer, GMS_MAX_PRINTLEN, ", %d)", (int)SCIPround(scip, exponent)); in printExpr()
H A Dcons_nonlinear.c2629 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 Dreader_fzn.c4005 (void) SCIPsnprintf(buffer, FZN_BUFFERLEN, "%.1f", SCIPround(scip, val)); in flattenFloat()
H A Dcons_quadratic.c3948 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 Dscip_milp_client.cc174 … 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 Dreader_scflp.c420 …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 Dreader_nl.c626 …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 DCHANGELOG4427 - SCIPround() and SCIPfeasRound() to round to nearest integer