Home
last modified time | relevance | path

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

/dports/math/SCIP/scip-7.0.3/examples/TSP/src/
H A DHeur2opt.cpp207 SCIP_SOL* swapsol; // copy of sol with 4 edges swapped in SCIP_DECL_HEUREXEC() local
209 SCIP_CALL( SCIPcreateSol(scip, &swapsol, heur) ); in SCIP_DECL_HEUREXEC()
214 SCIP_CALL( SCIPsetSolVal(scip, swapsol, tour_[j]->var, 1.0) ); /*lint !e613*/ in SCIP_DECL_HEUREXEC()
218 SCIP_CALL( SCIPsetSolVal(scip, swapsol, edges2test[0]->var, 0.0) ); in SCIP_DECL_HEUREXEC()
219 SCIP_CALL( SCIPsetSolVal(scip, swapsol, edges2test[1]->var, 0.0) ); in SCIP_DECL_HEUREXEC()
220 SCIP_CALL( SCIPsetSolVal(scip, swapsol, edges2test[2]->var, 1.0) ); in SCIP_DECL_HEUREXEC()
221 SCIP_CALL( SCIPsetSolVal(scip, swapsol, edges2test[3]->var, 1.0) ); in SCIP_DECL_HEUREXEC()
222 SCIP_CALL( SCIPaddSolFree(scip, &swapsol, &success) ); in SCIP_DECL_HEUREXEC()