ofstream lockfile(
"temp.tour.lock");
78lockfile <<
"lock"<< endl;
82ofstream filedata(
"temp.tour");
83filedata <<
"RESET"<< endl;
87(void) unlink(
"temp.tour.lock");
161 SCIPwarningMessage(
scip,
"cannot output tour in file, because lockfile <temp.tour.lock> is still existing\n");
166ofstream lockfile(
"temp.tour.lock");
167lockfile <<
"lock"<< endl;
171ofstream filedata(
"temp.tour");
172filedata << graph->
nnodes<< endl;
176filedata <<
"relaxation"<< endl;
184filedata << node->
id<<
" "<< node->
x<<
" "<< node->
y<< endl;
189 while( edge !=
NULL)
193node = edge->
adjac;
200 while( node != &graph->
nodes[0] );
205(void) unlink(
"temp.tour.lock");
SCIP_DECL_EVENTDELETE(EventhdlrNewSol::scip_delete)
SCIP_DECL_EVENTEXEC(EventhdlrNewSol::scip_exec)
SCIP_DECL_EVENTINIT(EventhdlrNewSol::scip_init)
SCIP_DECL_EVENTINITSOL(EventhdlrNewSol::scip_initsol)
SCIP_DECL_EVENTEXIT(EventhdlrNewSol::scip_exit)
SCIP_DECL_EVENTEXITSOL(EventhdlrNewSol::scip_exitsol)
SCIP_DECL_EVENTFREE(EventhdlrNewSol::scip_free)
event handler for new solutions in TSP
generator for global cuts in undirected graphs
C++ problem data for TSP.
SCIP_Bool SCIPfileExists(const char *filename)
void SCIPwarningMessage(SCIP *scip, const char *formatstr,...)
SCIP_RETCODE SCIPcatchEvent(SCIP *scip, SCIP_EVENTTYPE eventtype, SCIP_EVENTHDLR *eventhdlr, SCIP_EVENTDATA *eventdata, int *filterpos)
SCIP_RETCODE SCIPdropEvent(SCIP *scip, SCIP_EVENTTYPE eventtype, SCIP_EVENTHDLR *eventhdlr, SCIP_EVENTDATA *eventdata, int filterpos)
const char * SCIPheurGetName(SCIP_HEUR *heur)
SCIP_SOL * SCIPgetBestSol(SCIP *scip)
SCIP_HEUR * SCIPgetSolHeur(SCIP *scip, SCIP_SOL *sol)
SCIP_Real SCIPgetSolOrigObj(SCIP *scip, SCIP_SOL *sol)
SCIP_Real SCIPgetSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var)
scip::ObjProbData * SCIPgetObjProbData(SCIP *scip)
C++ wrapper classes for SCIP.
struct GraphEdge * first_edge
#define SCIP_EVENTTYPE_BESTSOLFOUND
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4