Home
last modified time | relevance | path

Searched refs:lpsol (Results 1 – 9 of 9) sorted by relevance

/dports/math/highs/HiGHS-cfe064e/src/mip/
H A DHighsSearch.cpp80 double intval = std::floor(lpsol[i] + 0.5);
82 if (std::abs(lpsol[i] - intval) <= mipsolver.mipdata_->feastol) {
85 double frac = lpsol[i] - std::floor(lpsol[i]);
87 fixval = std::floor(lpsol[i]);
89 fixval = std::ceil(lpsol[i]);
204 const auto& lpsol = lp->getLpSolver().getSolution().col_value; in heuristicSearchNew() local
209 heur.setRENSNeighbourhood(lpsol); in heuristicSearchNew()
327 return std::abs(lpsol[fracvar.first] - in heuristicSearchNew()
338 fixval = std::floor(lpsol[col] + 0.5); in heuristicSearchNew()
457 const auto& lpsol = lp->getLpSolver().getSolution().col_value; in heuristicSearch() local
[all …]
H A DHighsSeparation.cpp443 double solval = lpsol.col_value[col]; in transformBaseEquation()
1073 const HighsSolution& lpsol; member in AggregationHeuristic
1133 lpsol(lprelaxation.getLpSolver().getSolution()), in AggregationHeuristic()
1152 lowerslack = lpsol.row_value[i] - lp.rowLower_[i]; in determineRowTypes()
1155 upperslack = lp.rowUpper_[i] - lpsol.row_value[i]; in determineRowTypes()
1930 const HighsSolution& lpsol, in doSeparate() argument
1957 mip, domain, lpsol, &baserows.ARindex_[start], in doSeparate()
1971 mip, domain, lpsol, &baserows.ARindex_[start], in doSeparate()
2024 auto& lpsol = lp.getLpSolver().getSolution(); in tableauaggregator() local
2040 double solval = lpsol.row_value[row]; in tableauaggregator()
[all …]
H A DHighsSearch.h97 void setRENSNeighbourhood(const std::vector<double>& lpsol);
/dports/math/SCIP/scip-7.0.3/src/scip/
H A Dsepa_convexproj.c785 SCIP_SOL* lpsol; in SCIP_DECL_SEPAEXECLP() local
880 SCIP_CALL( SCIPcreateCurrentSol(scip, &lpsol, NULL) ); in SCIP_DECL_SEPAEXECLP()
883 SCIP_CALL( computeMaxViolation(scip, sepadata, lpsol, &maxviolation) ); in SCIP_DECL_SEPAEXECLP()
887 SCIP_CALL( SCIPfreeSol(scip, &lpsol) ); in SCIP_DECL_SEPAEXECLP()
895 SCIP_CALL( separateCuts(scip, sepa, lpsol, result) ); in SCIP_DECL_SEPAEXECLP()
898 SCIP_CALL( SCIPfreeSol(scip, &lpsol) ); in SCIP_DECL_SEPAEXECLP()
H A Dheur_dins.c131 SCIP_Real lpsol; in computeIntegerVariableBounds() local
143 lpsol = SCIPvarGetLPSol(var); in computeIntegerVariableBounds()
150 if( REALABS(lpsol - mipsol) >= 0.5 ) in computeIntegerVariableBounds()
158 range = 2*lpsol-mipsol; in computeIntegerVariableBounds()
160 if( mipsol >= lpsol ) in computeIntegerVariableBounds()
H A Dheur_nlpdiving.c1103 SCIP_Real lpsol; in chooseDoubleVar() local
1114 lpsol = pseudocandslpsol[c]; in chooseDoubleVar()
1118 …assert(SCIPisLE(scip, SCIPvarGetLbLocal(var), lpsol) && SCIPisLE(scip, lpsol, SCIPvarGetUbLocal(va… in chooseDoubleVar()
1130 if( SCIPisFeasEQ(scip, lpsol, nlpsol) && SCIPisFeasIntegral(scip, lpsol)) in chooseDoubleVar()
1133 lpsolfloor = SCIPfeasFloor(scip, lpsol); in chooseDoubleVar()
1135 lpsolceil = SCIPfeasCeil(scip, lpsol); in chooseDoubleVar()
1145 frac = 0.33*(lpsol-floorval) + 0.67*(nlpsol-floorval); in chooseDoubleVar()
1162 midval = (nlpsol+lpsol)/2.0; in chooseDoubleVar()
1163 roundup = nlpsol > lpsol; in chooseDoubleVar()
1164 frac = ABS(nlpsol-lpsol); in chooseDoubleVar()
H A Dsepa_gauge.c945 SCIP_SOL* lpsol; in SCIP_DECL_SEPAEXECLP() local
1023 SCIP_CALL( SCIPcreateCurrentSol(scip, &lpsol, NULL) ); in SCIP_DECL_SEPAEXECLP()
1034 SCIP_CALL( SCIPgetNlRowSolActivity(scip, nlrow, lpsol, &activity) ); in SCIP_DECL_SEPAEXECLP()
1060 SCIP_CALL( separateCuts(scip, sepa, lpsol, result) ); in SCIP_DECL_SEPAEXECLP()
1064 SCIP_CALL( SCIPfreeSol(scip, &lpsol) ); in SCIP_DECL_SEPAEXECLP()
H A Dheur_alns.c3297 SCIP_Real lpsol; in computeIntegerVariableBoundsDins() local
3309 lpsol = SCIPvarGetLPSol(var); in computeIntegerVariableBoundsDins()
3316 if( REALABS(lpsol - mipsol) >= 0.5 ) in computeIntegerVariableBoundsDins()
3324 range = 2 * lpsol - mipsol; in computeIntegerVariableBoundsDins()
3326 if( mipsol >= lpsol ) in computeIntegerVariableBoundsDins()
H A Dbranch_lookahead.c2519 SCIP_SOL** lpsol /**< pointer to store the solution into */ in copyCurrentSolution() argument
2523 assert(lpsol != NULL); in copyCurrentSolution()
2526 SCIP_CALL( SCIPcreateLPSol(scip, lpsol, NULL) ); in copyCurrentSolution()
2529 SCIP_CALL( SCIPunlinkSol(scip, *lpsol) ); in copyCurrentSolution()