A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scip.zib.de/doc/html/scip__sol_8c_source.php below:

SCIP Doxygen Documentation: scip_sol.c Source File

186 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcreateSol"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

188 switch

(

scip

->set->stage )

228 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcreateLPSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

256 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcreateNLPSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

291 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcreateRelaxSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

318 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcreatePseudoSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

341 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcreateCurrentSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

363 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcreatePartialSol"

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

391 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcreateUnknownSol"

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

423 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcreateOrigSol"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

) );

425 switch

(

scip

->set->stage )

476 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcreateSolCopy"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

) );

479 if

( sourcesol ==

NULL

)

516 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcreateSolCopyOrig"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

519 if

( sourcesol ==

NULL

)

525 switch

(

scip

->set->stage )

567

assert(subscip !=

NULL

);

568

assert(origvars !=

NULL

);

569

assert(solvals !=

NULL

);

570

assert(success !=

NULL

);

581 for

( v = 0; v < norigvars; ++v )

584

assert(varcopy !=

NULL

);

656 if

( bestsol !=

NULL

)

659 for

( v = 0; v < norigvars; ++v )

662

assert(varcopy !=

NULL

);

716 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcreateFiniteSolCopy"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

) );

719

assert(sol !=

NULL

);

720

assert(sourcesol !=

NULL

);

721

assert(success !=

NULL

);

728

assert(fixedvars !=

NULL

|| nfixedvars == 0);

736 for

( v = 0; v < nfixedvars; ++v )

754 if

( v < nfixedvars )

760 for

( v = 0; v < norigvars; ++v )

768 SCIPdebugMsg

(

scip

,

"--> var <%s> is fixed to infinite value %g in the original problem, stop making solution finite\n"

,

792 for

( v = 0; v < norigvars; ++v )

842 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPfreeSol"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

844 switch

(

scip

->set->stage )

883 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPlinkLPSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

909 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPlinkNLPSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

941 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPlinkRelaxSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

968 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPlinkPseudoSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

988 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPlinkCurrentSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

1019 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPclearSol"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1047 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPunlinkSol"

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1080 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPsetSolVal"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1086 SCIPerrorMessage

(

"cannot set value of transformed variable <%s> in original space solution\n"

,

1125

assert(nvars == 0 || vars !=

NULL

);

1126

assert(nvars == 0 || vals !=

NULL

);

1128 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPsetSolVals"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1132 for

( v = 0; v < nvars; ++v )

1136 SCIPerrorMessage

(

"cannot set value of transformed variable <%s> in original space solution\n"

,

1143 for

( v = 0; v < nvars; ++v )

1177 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPincSolVal"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1183 SCIPerrorMessage

(

"cannot increase value of transformed variable <%s> in original space solution\n"

,

1219 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetSolVal"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1226 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetSolVal(sol==NULL)"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

1258

assert(nvars == 0 || vars !=

NULL

);

1259

assert(nvars == 0 || vals !=

NULL

);

1261 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPgetSolVals"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1267 for

( v = 0; v < nvars; ++v )

1306 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetSolOrigObj"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1311 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetSolOrigObj"

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1318 FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

1348 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetSolTransObj"

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1355 FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

1381 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPrecomputeSolObj"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

1408 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPtransformObj"

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

) );

1433 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPretransformObj"

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

) );

1460 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetSolTime"

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1487 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetSolRunnum"

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1514 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetSolNodenum"

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1541 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetSolHeur"

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1570 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPareSolsEqual"

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

1591 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPadjustImplicitSolVals"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

1593

assert(sol !=

NULL

);

1640 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPprintSol"

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

) );

1642

currentsol = (sol ==

NULL

);

1646 FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

) );

1718 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPprintTransSol"

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

) );

1720

currentsol = (sol ==

NULL

);

1730 SCIPerrorMessage

(

"cannot print original space solution as transformed solution\n"

);

1775

assert(sol !=

NULL

);

1778 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPprintMIPStart"

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

) );

1820

assert(cons !=

NULL

);

1821

assert(dualsolval !=

NULL

);

1829 if

( boundconstraint !=

NULL

)

1830

*boundconstraint = (nvars == 1);

1841 if

( nvars == 0 || (nvars > 1 && transcons ==

NULL

) )

1842

(*dualsolval) = 0.0;

1864

(*dualsolval) = 0.0;

1871

(*dualsolval) *= -1.0;

1888

assert(

scip

->lp->solved);

1889

assert(

scip

->lp->dualfeasible);

1892 for

( c = 0; c <

scip

->origprob->nconss; ++c )

1897

cons =

scip

->origprob->conss[c];

1898

assert(cons !=

NULL

);

1914 if

( boundconstraint )

1943 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPisDualSolAvailable"

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

) );

1953

assert(

scip

->transprob !=

NULL

);

1956 if

(

scip

->stat->performpresol )

1964 if

(

scip

->transprob->nvars !=

scip

->transprob->ncontvars )

1967 SCIPwarningMessage

(

scip

,

"Dual information only available for pure LPs (only continuous variables).\n"

);

1972 for

( c =

scip

->transprob->nconss - 1; c >= 0; --c )

1977

assert(conshdlr !=

NULL

);

1982 SCIPwarningMessage

(

scip

,

"Dual information only available for pure LPs (only linear constraints).\n"

);

2038

assert(sol !=

NULL

);

2040 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPprintRay"

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

) );

2070 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetNSols"

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

) );

2072 switch

(

scip

->set->stage )

2075 return scip

->origprimal->nsols;

2086 return scip

->primal->nsols;

2119 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetSols"

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

) );

2121 switch

(

scip

->set->stage )

2124 return scip

->origprimal->sols;

2135 return scip

->primal->sols;

2169 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetBestSol"

,

TRUE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

) );

2170 switch

(

scip

->set->stage )

2175

assert(

scip

->origprimal !=

NULL

);

2176 if

(

scip

->origprimal->nsols > 0 )

2178

assert(

scip

->origprimal->sols !=

NULL

);

2179

assert(

scip

->origprimal->sols[0] !=

NULL

);

2180 return scip

->origprimal->sols[0];

2194 if

(

scip

->primal->nsols > 0 )

2196

assert(

scip

->primal->sols !=

NULL

);

2197

assert(

scip

->primal->sols[0] !=

NULL

);

2198 return scip

->primal->sols[0];

2239 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPprintBestSol"

,

TRUE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

) );

2279 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPprintBestTransSol"

,

TRUE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

) );

2285 SCIPerrorMessage

(

"best solution is defined in original space - cannot print it as transformed solution\n"

);

2313 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIProundSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

2348 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPretransformSol"

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

) );

2403 const char

* filename

2406 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPreadSol"

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

2418 const char

* filename,

2430

assert(sol !=

NULL

);

2431

assert(error !=

NULL

);

2445

unknownvariablemessage =

FALSE

;

2449 while

( !

SCIPfeof

(file) && !(*error) )

2461 if

(

SCIPfgets

(buffer, (

int

)

sizeof

(buffer), file) ==

NULL

)

2468 SCIPstrncasecmp

(buffer,

"All other variables"

, 19) == 0 || strspn(buffer,

" \n\r\t\f"

) == strlen(buffer) ||

2475

nread = sscanf(buffer, format, varname, valuestring, objstring);

2478 SCIPerrorMessage

(

"Invalid input line %d in solution file <%s>: <%s>.\n"

, lineno, filename, buffer);

2487 if

( !unknownvariablemessage )

2490

varname, lineno, filename);

2492

unknownvariablemessage =

TRUE

;

2507

localpartial =

TRUE

;

2512

nread = sscanf(valuestring,

"%lf"

, &value);

2515 SCIPerrorMessage

(

"Invalid solution value <%s> for variable <%s> in line %d of solution file <%s>.\n"

,

2516

valuestring, varname, lineno, filename);

2566 if

( partial !=

NULL

)

2567

*partial = localpartial;

2576 const char

* filename,

2590

assert(sol !=

NULL

);

2591

assert(error !=

NULL

);

2596 if

( start ==

NULL

)

2598 SCIPerrorMessage

(

"Some error occured during parsing the XML solution file.\n"

);

2608 if

( varsnode ==

NULL

)

2618

unknownvariablemessage =

FALSE

;

2622 const char

* varname;

2623 const char

* valuestring;

2629 if

( varname ==

NULL

)

2640 if

( !unknownvariablemessage )

2645

unknownvariablemessage =

TRUE

;

2652 if

( valuestring ==

NULL

)

2669

localpartial =

TRUE

;

2674

nread = sscanf(valuestring,

"%lf"

, &value);

2677 SCIPwarningMessage

(

scip

,

"invalid solution value <%s> for variable <%s> in XML solution file <%s>\n"

, valuestring, varname, filename);

2726 if

( partial !=

NULL

)

2727

*partial = localpartial;

2749 const char

* filename,

2756 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPreadSolFile"

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

2793 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPaddSol"

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

) );

2795 switch

(

scip

->set->stage )

2857 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPaddSolFree"

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

) );

2859 switch

(

scip

->set->stage )

2918 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPaddCurrentSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

2963

assert(sol !=

NULL

);

2964

assert(stored !=

NULL

);

2966 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPtrySol"

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

2971

completely =

FALSE

;

2987

printreason, completely, checkbounds, checkintegrality, checklprows,

TRUE

, &feasible) );

3007

completely, checkbounds, checkintegrality, checklprows, stored) );

3013#ifdef SCIP_DEBUG_ABORTATORIGINFEAS 3015 SCIP_CALL

(

SCIPsolCheckOrig

(sol,

scip

->set,

scip

->messagehdlr,

scip

->mem->probmem,

scip

->stat,

scip

->origprob,

scip

->origprimal,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

, &feasible) );

3019 SCIPerrorMessage

(

"Accepted solution not feasible for original problem\n"

);

3059

assert(stored !=

NULL

);

3060

assert(sol !=

NULL

);

3062 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPtrySolFree"

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

3067

completely =

FALSE

;

3084

printreason, completely, checkbounds, checkintegrality, checklprows,

TRUE

, &feasible) );

3108

sol, printreason, completely, checkbounds, checkintegrality, checklprows, stored) );

3114#ifdef SCIP_DEBUG_ABORTATORIGINFEAS 3121 SCIPerrorMessage

(

"Accepted incumbent not feasible for original problem\n"

);

3154 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPtryCurrentSol"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

) );

3159

completely =

FALSE

;

3163

printreason, completely, checkintegrality, checklprows, stored) );

3169#ifdef SCIP_DEBUG_ABORTATORIGINFEAS 3176 SCIPerrorMessage

(

"Accepted incumbent not feasible for original problem\n"

);

3204 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetPartialSols"

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

) );

3206 return scip

->origprimal->partialsols;

3226 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetNPartialSols"

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

) );

3228 return scip

->origprimal->npartialsols;

3258 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcheckSol"

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

) );

3268

checklprows = checklprows ||

scip

->set->misc_exactsolve;

3271

completely =

FALSE

;

3277

printreason, completely, checkbounds, checkintegrality, checklprows,

FALSE

, feasible) );

3282

printreason, completely, checkbounds, checkintegrality, checklprows, feasible) );

3314

assert(sol !=

NULL

);

3315

assert(feasible !=

NULL

);

3317 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPcheckSolOrig"

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

) );

3327

completely =

FALSE

;

3348 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPhasPrimalRay"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

) );

3350 return scip

->primal->primalray !=

NULL

;

3367 SCIP_CALL_ABORT

(

SCIPcheckStage

(

scip

,

"SCIPgetPrimalRayVal"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

) );

3369

assert(var !=

NULL

);

3370

assert(

scip

->primal->primalray !=

NULL

);

3395

assert(primalray !=

NULL

);

3397 SCIP_CALL

(

SCIPcheckStage

(

scip

,

"SCIPupdatePrimalRay"

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

FALSE

,

TRUE

,

TRUE

,

FALSE

,

FALSE

,

FALSE

) );

SCIP_RETCODE SCIPconsGetNVars(SCIP_CONS *cons, SCIP_SET *set, int *nvars, SCIP_Bool *success)

SCIP_CONS * SCIPconsGetTransformed(SCIP_CONS *cons)

internal methods for constraints and constraint handlers

Constraint handler for linear constraints in their most general form, .

SCIP_RETCODE SCIPcheckStage(SCIP *scip, const char *method, SCIP_Bool init, SCIP_Bool problem, SCIP_Bool transforming, SCIP_Bool transformed, SCIP_Bool initpresolve, SCIP_Bool presolving, SCIP_Bool exitpresolve, SCIP_Bool presolved, SCIP_Bool initsolve, SCIP_Bool solving, SCIP_Bool solved, SCIP_Bool exitsolve, SCIP_Bool freetrans, SCIP_Bool freescip)

#define SCIP_CALL_ABORT(x)

#define SCIP_CALL_FINALLY(x, y)

SCIP_FILE * SCIPfopen(const char *path, const char *mode)

int SCIPfeof(SCIP_FILE *stream)

int SCIPfclose(SCIP_FILE *fp)

char * SCIPfgets(char *s, int size, SCIP_FILE *stream)

SCIP_Real SCIPgetDualsolLinear(SCIP *scip, SCIP_CONS *cons)

SCIP_Real SCIPgetRhsLinear(SCIP *scip, SCIP_CONS *cons)

SCIP_VAR ** SCIPgetVarsLinear(SCIP *scip, SCIP_CONS *cons)

SCIP_RETCODE SCIPaddCoefLinear(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var, SCIP_Real val)

SCIP_Real SCIPgetLhsLinear(SCIP *scip, SCIP_CONS *cons)

SCIP_Real * SCIPgetValsLinear(SCIP *scip, SCIP_CONS *cons)

SCIP_RETCODE SCIPcreateConsBasicLinear(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars, SCIP_Real *vals, SCIP_Real lhs, SCIP_Real rhs)

SCIP_RETCODE SCIPcopyOrig(SCIP *sourcescip, SCIP *targetscip, SCIP_HASHMAP *varmap, SCIP_HASHMAP *consmap, const char *suffix, SCIP_Bool enablepricing, SCIP_Bool threadsafe, SCIP_Bool passmessagehdlr, SCIP_Bool *valid)

SCIP_Bool SCIPisTransformed(SCIP *scip)

SCIP_RETCODE SCIPfree(SCIP **scip)

SCIP_RETCODE SCIPcreate(SCIP **scip)

SCIP_STAGE SCIPgetStage(SCIP *scip)

SCIP_RETCODE SCIPaddVar(SCIP *scip, SCIP_VAR *var)

SCIP_RETCODE SCIPgetOrigVarsData(SCIP *scip, SCIP_VAR ***vars, int *nvars, int *nbinvars, int *nintvars, int *nimplvars, int *ncontvars)

SCIP_RETCODE SCIPaddCons(SCIP *scip, SCIP_CONS *cons)

SCIP_OBJSENSE SCIPgetObjsense(SCIP *scip)

int SCIPgetNFixedVars(SCIP *scip)

SCIP_VAR ** SCIPgetFixedVars(SCIP *scip)

SCIP_VAR * SCIPfindVar(SCIP *scip, const char *name)

SCIP_RETCODE SCIPreadProb(SCIP *scip, const char *filename, const char *extension)

void SCIPhashmapFree(SCIP_HASHMAP **hashmap)

void * SCIPhashmapGetImage(SCIP_HASHMAP *hashmap, void *origin)

SCIP_RETCODE SCIPhashmapCreate(SCIP_HASHMAP **hashmap, BMS_BLKMEM *blkmem, int mapsize)

void SCIPverbMessage(SCIP *scip, SCIP_VERBLEVEL msgverblevel, FILE *file, const char *formatstr,...)

void SCIPwarningMessage(SCIP *scip, const char *formatstr,...)

SCIP_RETCODE SCIPsetIntParam(SCIP *scip, const char *name, int value)

const char * SCIPconshdlrGetName(SCIP_CONSHDLR *conshdlr)

SCIP_CONSHDLR * SCIPconsGetHdlr(SCIP_CONS *cons)

SCIP_Bool SCIPconsIsTransformed(SCIP_CONS *cons)

const char * SCIPconsGetName(SCIP_CONS *cons)

SCIP_RETCODE SCIPreleaseCons(SCIP *scip, SCIP_CONS **cons)

#define SCIPallocBufferArray(scip, ptr, num)

#define SCIPfreeBufferArray(scip, ptr)

SCIP_Bool SCIPisNLPConstructed(SCIP *scip)

SCIP_RETCODE SCIPcheckSolOrig(SCIP *scip, SCIP_SOL *sol, SCIP_Bool *feasible, SCIP_Bool printreason, SCIP_Bool completely)

SCIP_SOL * SCIPgetBestSol(SCIP *scip)

SCIP_RETCODE SCIPcreateSol(SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)

SCIP_SOLORIGIN SCIPsolGetOrigin(SCIP_SOL *sol)

SCIP_RETCODE SCIPlinkPseudoSol(SCIP *scip, SCIP_SOL *sol)

int SCIPgetSolRunnum(SCIP *scip, SCIP_SOL *sol)

SCIP_RETCODE SCIPreadSolFile(SCIP *scip, const char *filename, SCIP_SOL *sol, SCIP_Bool xml, SCIP_Bool *partial, SCIP_Bool *error)

SCIP_RETCODE SCIPcreateUnknownSol(SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)

SCIP_RETCODE SCIPprintTransSol(SCIP *scip, SCIP_SOL *sol, FILE *file, SCIP_Bool printzeros)

SCIP_Real SCIPsolGetOrigObj(SCIP_SOL *sol)

SCIP_RETCODE SCIPcreateSolCopy(SCIP *scip, SCIP_SOL **sol, SCIP_SOL *sourcesol)

void SCIPupdateSolIntegralityViolation(SCIP *scip, SCIP_SOL *sol, SCIP_Real absviol)

SCIP_RETCODE SCIPprintBestSol(SCIP *scip, FILE *file, SCIP_Bool printzeros)

SCIP_SOL ** SCIPgetPartialSols(SCIP *scip)

void SCIPupdateSolLPRowViolation(SCIP *scip, SCIP_SOL *sol, SCIP_Real absviol, SCIP_Real relviol)

SCIP_RETCODE SCIPfreeSol(SCIP *scip, SCIP_SOL **sol)

SCIP_HEUR * SCIPgetSolHeur(SCIP *scip, SCIP_SOL *sol)

void SCIPupdateSolBoundViolation(SCIP *scip, SCIP_SOL *sol, SCIP_Real absviol, SCIP_Real relviol)

SCIP_RETCODE SCIPaddSolFree(SCIP *scip, SCIP_SOL **sol, SCIP_Bool *stored)

SCIP_RETCODE SCIPprintRay(SCIP *scip, SCIP_SOL *sol, FILE *file, SCIP_Bool printzeros)

SCIP_RETCODE SCIPprintSol(SCIP *scip, SCIP_SOL *sol, FILE *file, SCIP_Bool printzeros)

SCIP_Real SCIPsolGetTime(SCIP_SOL *sol)

SCIP_RETCODE SCIPcreateCurrentSol(SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)

SCIP_RETCODE SCIPgetDualSolVal(SCIP *scip, SCIP_CONS *cons, SCIP_Real *dualsolval, SCIP_Bool *boundconstraint)

SCIP_Bool SCIPareSolsEqual(SCIP *scip, SCIP_SOL *sol1, SCIP_SOL *sol2)

SCIP_RETCODE SCIPclearSol(SCIP *scip, SCIP_SOL *sol)

SCIP_Longint SCIPsolGetNodenum(SCIP_SOL *sol)

SCIP_RETCODE SCIPcreateNLPSol(SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)

SCIP_Real SCIPtransformObj(SCIP *scip, SCIP_Real obj)

int SCIPgetNPartialSols(SCIP *scip)

int SCIPgetNSols(SCIP *scip)

SCIP_HEUR * SCIPsolGetHeur(SCIP_SOL *sol)

SCIP_RETCODE SCIPcreateLPSol(SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)

SCIP_RETCODE SCIPlinkCurrentSol(SCIP *scip, SCIP_SOL *sol)

SCIP_RETCODE SCIPcreateFiniteSolCopy(SCIP *scip, SCIP_SOL **sol, SCIP_SOL *sourcesol, SCIP_Bool *success)

SCIP_RETCODE SCIPprintBestTransSol(SCIP *scip, FILE *file, SCIP_Bool printzeros)

SCIP_RETCODE SCIPadjustImplicitSolVals(SCIP *scip, SCIP_SOL *sol, SCIP_Bool uselprows)

SCIP_RETCODE SCIPaddCurrentSol(SCIP *scip, SCIP_HEUR *heur, SCIP_Bool *stored)

SCIP_RETCODE SCIPcreateOrigSol(SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)

SCIP_RETCODE SCIPunlinkSol(SCIP *scip, SCIP_SOL *sol)

SCIP_Bool SCIPsolIsOriginal(SCIP_SOL *sol)

SCIP_RETCODE SCIPcreateRelaxSol(SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)

SCIP_RETCODE SCIPprintMIPStart(SCIP *scip, SCIP_SOL *sol, FILE *file)

SCIP_RETCODE SCIPreadSol(SCIP *scip, const char *filename)

SCIP_RETCODE SCIPgetSolVals(SCIP *scip, SCIP_SOL *sol, int nvars, SCIP_VAR **vars, SCIP_Real *vals)

SCIP_RETCODE SCIPrecomputeSolObj(SCIP *scip, SCIP_SOL *sol)

SCIP_RETCODE SCIPaddSol(SCIP *scip, SCIP_SOL *sol, SCIP_Bool *stored)

SCIP_RETCODE SCIPincSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var, SCIP_Real incval)

SCIP_RETCODE SCIPcreateSolCopyOrig(SCIP *scip, SCIP_SOL **sol, SCIP_SOL *sourcesol)

SCIP_RETCODE SCIPlinkNLPSol(SCIP *scip, SCIP_SOL *sol)

SCIP_RETCODE SCIProundSol(SCIP *scip, SCIP_SOL *sol, SCIP_Bool *success)

SCIP_RETCODE SCIPcreatePartialSol(SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)

SCIP_Longint SCIPgetSolNodenum(SCIP *scip, SCIP_SOL *sol)

SCIP_Bool SCIPsolIsPartial(SCIP_SOL *sol)

SCIP_Real SCIPgetPrimalRayVal(SCIP *scip, SCIP_VAR *var)

SCIP_RETCODE SCIPsetSolVals(SCIP *scip, SCIP_SOL *sol, int nvars, SCIP_VAR **vars, SCIP_Real *vals)

void SCIPupdateSolConsViolation(SCIP *scip, SCIP_SOL *sol, SCIP_Real absviol, SCIP_Real relviol)

SCIP_SOL ** SCIPgetSols(SCIP *scip)

SCIP_Bool SCIPhasPrimalRay(SCIP *scip)

SCIP_RETCODE SCIPlinkRelaxSol(SCIP *scip, SCIP_SOL *sol)

int SCIPsolGetRunnum(SCIP_SOL *sol)

SCIP_RETCODE SCIPtrySol(SCIP *scip, SCIP_SOL *sol, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkbounds, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool *stored)

SCIP_RETCODE SCIPcheckSol(SCIP *scip, SCIP_SOL *sol, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkbounds, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool *feasible)

SCIP_Bool SCIPisDualSolAvailable(SCIP *scip, SCIP_Bool printreason)

SCIP_RETCODE SCIPtrySolFree(SCIP *scip, SCIP_SOL **sol, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkbounds, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool *stored)

SCIP_RETCODE SCIPlinkLPSol(SCIP *scip, SCIP_SOL *sol)

SCIP_Real SCIPgetSolOrigObj(SCIP *scip, SCIP_SOL *sol)

SCIP_RETCODE SCIPretransformSol(SCIP *scip, SCIP_SOL *sol)

SCIP_Real SCIPgetSolTime(SCIP *scip, SCIP_SOL *sol)

void SCIPdeactivateSolViolationUpdates(SCIP *scip)

SCIP_RETCODE SCIPsetSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var, SCIP_Real val)

SCIP_Real SCIPgetSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var)

void SCIPactivateSolViolationUpdates(SCIP *scip)

SCIP_Real SCIPgetSolTransObj(SCIP *scip, SCIP_SOL *sol)

void SCIPupdateSolLPConsViolation(SCIP *scip, SCIP_SOL *sol, SCIP_Real absviol, SCIP_Real relviol)

SCIP_RETCODE SCIPupdatePrimalRay(SCIP *scip, SCIP_SOL *primalray)

SCIP_Real SCIPretransformObj(SCIP *scip, SCIP_Real obj)

SCIP_RETCODE SCIPcreatePseudoSol(SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)

SCIP_RETCODE SCIPprintDualSol(SCIP *scip, FILE *file, SCIP_Bool printzeros)

SCIP_RETCODE SCIPtryCurrentSol(SCIP *scip, SCIP_HEUR *heur, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool *stored)

SCIP_RETCODE SCIPsolve(SCIP *scip)

void SCIPstoreSolutionGap(SCIP *scip)

SCIP_Real SCIPinfinity(SCIP *scip)

void SCIPprintReal(SCIP *scip, FILE *file, SCIP_Real val, int width, int precision)

SCIP_Bool SCIPisInfinity(SCIP *scip, SCIP_Real val)

SCIP_Bool SCIPisFeasLT(SCIP *scip, SCIP_Real val1, SCIP_Real val2)

SCIP_Bool SCIPisFeasGT(SCIP *scip, SCIP_Real val1, SCIP_Real val2)

SCIP_Bool SCIPisEQ(SCIP *scip, SCIP_Real val1, SCIP_Real val2)

SCIP_Bool SCIPisZero(SCIP *scip, SCIP_Real val)

SCIP_Real SCIPepsilon(SCIP *scip)

SCIP_Real SCIPvarGetSol(SCIP_VAR *var, SCIP_Bool getlpval)

SCIP_VARSTATUS SCIPvarGetStatus(SCIP_VAR *var)

SCIP_Real SCIPvarGetUbLocal(SCIP_VAR *var)

SCIP_Real SCIPvarGetLbOriginal(SCIP_VAR *var)

SCIP_Bool SCIPvarIsTransformed(SCIP_VAR *var)

SCIP_VAR * SCIPvarGetProbvar(SCIP_VAR *var)

SCIP_Real SCIPvarGetUbGlobal(SCIP_VAR *var)

const char * SCIPvarGetName(SCIP_VAR *var)

SCIP_Real SCIPvarGetUbOriginal(SCIP_VAR *var)

SCIP_RETCODE SCIPreleaseVar(SCIP *scip, SCIP_VAR **var)

SCIP_RETCODE SCIPchgVarType(SCIP *scip, SCIP_VAR *var, SCIP_VARTYPE vartype, SCIP_Bool *infeasible)

SCIP_Real SCIPvarGetLPSol(SCIP_VAR *var)

SCIP_Real SCIPvarGetLbLocal(SCIP_VAR *var)

SCIP_RETCODE SCIPcreateVar(SCIP *scip, SCIP_VAR **var, const char *name, SCIP_Real lb, SCIP_Real ub, SCIP_Real obj, SCIP_VARTYPE vartype, SCIP_Bool initial, SCIP_Bool removable, SCIP_DECL_VARDELORIG((*vardelorig)), SCIP_DECL_VARTRANS((*vartrans)), SCIP_DECL_VARDELTRANS((*vardeltrans)), SCIP_DECL_VARCOPY((*varcopy)), SCIP_VARDATA *vardata)

SCIP_Real SCIPgetVarRedcost(SCIP *scip, SCIP_VAR *var)

SCIP_Real SCIPvarGetLbGlobal(SCIP_VAR *var)

SCIP_RETCODE SCIPfixVar(SCIP *scip, SCIP_VAR *var, SCIP_Real fixedval, SCIP_Bool *infeasible, SCIP_Bool *fixed)

SCIP_RETCODE SCIPgetVarSols(SCIP *scip, int nvars, SCIP_VAR **vars, SCIP_Real *vals)

SCIP_RETCODE SCIPchgVarObj(SCIP *scip, SCIP_VAR *var, SCIP_Real newobj)

int SCIPsnprintf(char *t, int len, const char *s,...)

void SCIPprintSysError(const char *message)

int SCIPstrncasecmp(const char *s1, const char *s2, int length)

SCIP_Real SCIPlpGetObjval(SCIP_LP *lp, SCIP_SET *set, SCIP_PROB *prob)

SCIP_Bool SCIPlpIsSolved(SCIP_LP *lp)

SCIP_Real SCIPlpGetPseudoObjval(SCIP_LP *lp, SCIP_SET *set, SCIP_PROB *prob)

internal methods for LP management

memory allocation routines

void SCIPmessageFPrintInfo(SCIP_MESSAGEHDLR *messagehdlr, FILE *file, const char *formatstr,...)

void SCIPmessagehdlrSetQuiet(SCIP_MESSAGEHDLR *messagehdlr, SCIP_Bool quiet)

SCIP_Bool SCIPmessagehdlrIsQuiet(SCIP_MESSAGEHDLR *messagehdlr)

BMS_BLKMEM * SCIPblkmem(SCIP *scip)

SCIP_Bool SCIPnlpHasSolution(SCIP_NLP *nlp)

SCIP_NLPSOLSTAT SCIPnlpGetSolstat(SCIP_NLP *nlp)

internal methods for NLP management

SCIP_RETCODE SCIPprimalAddCurrentSol(SCIP_PRIMAL *primal, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_STAT *stat, SCIP_PROB *origprob, SCIP_PROB *transprob, SCIP_TREE *tree, SCIP_REOPT *reopt, SCIP_LP *lp, SCIP_EVENTQUEUE *eventqueue, SCIP_EVENTFILTER *eventfilter, SCIP_HEUR *heur, SCIP_Bool *stored)

void SCIPprimalSetUpdateViolations(SCIP_PRIMAL *primal, SCIP_Bool updateviolations)

SCIP_RETCODE SCIPprimalUpdateRay(SCIP_PRIMAL *primal, SCIP_SET *set, SCIP_STAT *stat, SCIP_SOL *primalray, BMS_BLKMEM *blkmem)

SCIP_RETCODE SCIPprimalAddOrigSolFree(SCIP_PRIMAL *primal, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_SOL **sol, SCIP_Bool *stored)

SCIP_RETCODE SCIPprimalTryCurrentSol(SCIP_PRIMAL *primal, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_STAT *stat, SCIP_PROB *origprob, SCIP_PROB *transprob, SCIP_TREE *tree, SCIP_REOPT *reopt, SCIP_LP *lp, SCIP_EVENTQUEUE *eventqueue, SCIP_EVENTFILTER *eventfilter, SCIP_HEUR *heur, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool *stored)

SCIP_RETCODE SCIPprimalTrySolFree(SCIP_PRIMAL *primal, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_STAT *stat, SCIP_PROB *origprob, SCIP_PROB *transprob, SCIP_TREE *tree, SCIP_REOPT *reopt, SCIP_LP *lp, SCIP_EVENTQUEUE *eventqueue, SCIP_EVENTFILTER *eventfilter, SCIP_SOL **sol, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkbounds, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool *stored)

SCIP_Bool SCIPprimalUpdateViolations(SCIP_PRIMAL *primal)

SCIP_RETCODE SCIPprimalAddOrigSol(SCIP_PRIMAL *primal, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_SOL *sol, SCIP_Bool *stored)

SCIP_RETCODE SCIPprimalTrySol(SCIP_PRIMAL *primal, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_STAT *stat, SCIP_PROB *origprob, SCIP_PROB *transprob, SCIP_TREE *tree, SCIP_REOPT *reopt, SCIP_LP *lp, SCIP_EVENTQUEUE *eventqueue, SCIP_EVENTFILTER *eventfilter, SCIP_SOL *sol, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkbounds, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool *stored)

SCIP_RETCODE SCIPprimalAddSolFree(SCIP_PRIMAL *primal, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_STAT *stat, SCIP_PROB *origprob, SCIP_PROB *transprob, SCIP_TREE *tree, SCIP_REOPT *reopt, SCIP_LP *lp, SCIP_EVENTQUEUE *eventqueue, SCIP_EVENTFILTER *eventfilter, SCIP_SOL **sol, SCIP_Bool *stored)

SCIP_RETCODE SCIPprimalAddSol(SCIP_PRIMAL *primal, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_STAT *stat, SCIP_PROB *origprob, SCIP_PROB *transprob, SCIP_TREE *tree, SCIP_REOPT *reopt, SCIP_LP *lp, SCIP_EVENTQUEUE *eventqueue, SCIP_EVENTFILTER *eventfilter, SCIP_SOL *sol, SCIP_Bool *stored)

internal methods for collecting primal CIP solutions and primal informations

SCIP_Real SCIPprobExternObjval(SCIP_PROB *transprob, SCIP_PROB *origprob, SCIP_SET *set, SCIP_Real objval)

SCIP_Real SCIPprobInternObjval(SCIP_PROB *transprob, SCIP_PROB *origprob, SCIP_SET *set, SCIP_Real objval)

internal methods for storing and manipulating the main problem

public methods for managing constraints

wrapper functions to map file i/o to standard or zlib file i/o

struct SCIP_File SCIP_FILE

public methods for message output

public data structures and miscellaneous methods

public methods for primal CIP solutions

public methods for problem variables

SCIP_Bool SCIPrelaxationIsSolValid(SCIP_RELAXATION *relaxation)

internal methods for relaxators

public methods for constraint handler plugins and constraints

public methods for problem copies

public methods for memory management

public methods for message handling

public methods for nonlinear relaxation

public methods for numerical tolerances

public methods for SCIP parameter handling

public methods for global and local (sub)problems

static SCIP_RETCODE printDualSol(SCIP *scip, FILE *file, SCIP_Bool printzeros)

static SCIP_RETCODE readSolFile(SCIP *scip, const char *filename, SCIP_SOL *sol, SCIP_Bool *partial, SCIP_Bool *error)

static SCIP_RETCODE setupAndSolveFiniteSolSubscip(SCIP *scip, SCIP *subscip, SCIP_VAR **origvars, int norigvars, SCIP_Real *solvals, SCIP_Bool *success)

static SCIP_RETCODE readXmlSolFile(SCIP *scip, const char *filename, SCIP_SOL *sol, SCIP_Bool *partial, SCIP_Bool *error)

public methods for solutions

public methods for querying solving statistics

public methods for SCIP variables

SCIP_Bool SCIPsetIsEQ(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2)

internal methods for global SCIP settings

SCIP_RETCODE SCIPsolCreateRelaxSol(SCIP_SOL **sol, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PRIMAL *primal, SCIP_TREE *tree, SCIP_RELAXATION *relaxation, SCIP_HEUR *heur)

void SCIPsolUpdateConsViolation(SCIP_SOL *sol, SCIP_Real absviolcons, SCIP_Real relviolcons)

SCIP_RETCODE SCIPsolLinkPseudoSol(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_TREE *tree, SCIP_LP *lp)

SCIP_RETCODE SCIPsolCreatePartial(SCIP_SOL **sol, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PRIMAL *primal, SCIP_HEUR *heur)

SCIP_RETCODE SCIPsolCreateUnknown(SCIP_SOL **sol, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PRIMAL *primal, SCIP_TREE *tree, SCIP_HEUR *heur)

void SCIPsolUpdateBoundViolation(SCIP_SOL *sol, SCIP_Real absviolbounds, SCIP_Real relviolbounds)

SCIP_RETCODE SCIPsolCreateNLPSol(SCIP_SOL **sol, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PRIMAL *primal, SCIP_TREE *tree, SCIP_NLP *nlp, SCIP_HEUR *heur)

SCIP_RETCODE SCIPsolLinkCurrentSol(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_TREE *tree, SCIP_LP *lp)

SCIP_RETCODE SCIPsolCheck(SCIP_SOL *sol, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkbounds, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool *feasible)

SCIP_RETCODE SCIPsolMarkPartial(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_VAR **vars, int nvars)

SCIP_RETCODE SCIPsolCreateOriginal(SCIP_SOL **sol, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *origprob, SCIP_PRIMAL *primal, SCIP_TREE *tree, SCIP_HEUR *heur)

SCIP_RETCODE SCIPsolAdjustImplicitSolVals(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_TREE *tree, SCIP_Bool uselprows)

SCIP_RETCODE SCIPsolFree(SCIP_SOL **sol, BMS_BLKMEM *blkmem, SCIP_PRIMAL *primal)

void SCIPsolRecomputeObj(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *origprob)

void SCIPsolUpdateIntegralityViolation(SCIP_SOL *sol, SCIP_Real absviolintegrality)

void SCIPsolUpdateLPRowViolation(SCIP_SOL *sol, SCIP_Real absviollprows, SCIP_Real relviollprows)

SCIP_RETCODE SCIPsolIncVal(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_TREE *tree, SCIP_VAR *var, SCIP_Real incval)

SCIP_RETCODE SCIPsolLinkNLPSol(SCIP_SOL *sol, SCIP_STAT *stat, SCIP_TREE *tree, SCIP_NLP *nlp)

SCIP_RETCODE SCIPsolRetransform(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *origprob, SCIP_PROB *transprob, SCIP_Bool *hasinfval)

SCIP_RETCODE SCIPsolCreateCurrentSol(SCIP_SOL **sol, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_PRIMAL *primal, SCIP_TREE *tree, SCIP_LP *lp, SCIP_HEUR *heur)

SCIP_RETCODE SCIPsolRound(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_TREE *tree, SCIP_Bool *success)

SCIP_RETCODE SCIPsolSetVal(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_TREE *tree, SCIP_VAR *var, SCIP_Real val)

SCIP_RETCODE SCIPsolCreatePseudoSol(SCIP_SOL **sol, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_PRIMAL *primal, SCIP_TREE *tree, SCIP_LP *lp, SCIP_HEUR *heur)

SCIP_RETCODE SCIPsolClear(SCIP_SOL *sol, SCIP_STAT *stat, SCIP_TREE *tree)

SCIP_RETCODE SCIPsolCreateLPSol(SCIP_SOL **sol, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_PRIMAL *primal, SCIP_TREE *tree, SCIP_LP *lp, SCIP_HEUR *heur)

SCIP_RETCODE SCIPsolLinkRelaxSol(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_TREE *tree, SCIP_RELAXATION *relaxation)

SCIP_Real SCIPsolGetVal(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_VAR *var)

SCIP_RETCODE SCIPsolUnlink(SCIP_SOL *sol, SCIP_SET *set, SCIP_PROB *prob)

SCIP_Real SCIPsolGetRayVal(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_VAR *var)

SCIP_RETCODE SCIPsolPrintRay(SCIP_SOL *sol, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_PROB *transprob, FILE *file, SCIP_Bool printzeros)

SCIP_RETCODE SCIPsolLinkLPSol(SCIP_SOL *sol, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_TREE *tree, SCIP_LP *lp)

SCIP_Bool SCIPsolsAreEqual(SCIP_SOL *sol1, SCIP_SOL *sol2, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *origprob, SCIP_PROB *transprob)

SCIP_Real SCIPsolGetObj(SCIP_SOL *sol, SCIP_SET *set, SCIP_PROB *transprob, SCIP_PROB *origprob)

SCIP_RETCODE SCIPsolPrint(SCIP_SOL *sol, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_PROB *transprob, FILE *file, SCIP_Bool mipstart, SCIP_Bool printzeros)

SCIP_RETCODE SCIPsolCopy(SCIP_SOL **sol, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PRIMAL *primal, SCIP_SOL *sourcesol)

SCIP_RETCODE SCIPsolCheckOrig(SCIP_SOL *sol, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_PRIMAL *primal, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkbounds, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool checkmodifiable, SCIP_Bool *feasible)

SCIP_RETCODE SCIPsolCreate(SCIP_SOL **sol, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PRIMAL *primal, SCIP_TREE *tree, SCIP_HEUR *heur)

void SCIPsolUpdateLPConsViolation(SCIP_SOL *sol, SCIP_Real absviol, SCIP_Real relviol)

internal methods for storing primal CIP solutions

data structures for LP management

datastructures for block memory pools and memory buffers

datastructures for collecting primal CIP solutions and primal informations

datastructures for storing and manipulating the main problem

SCIP main data structure.

datastructures for global SCIP settings

datastructures for problem statistics

datastructures for problem variables

SCIP_Bool SCIPtreeHasCurrentNodeLP(SCIP_TREE *tree)

internal methods for branch and bound tree

@ SCIP_NLPSOLSTAT_FEASIBLE

enum SCIP_Retcode SCIP_RETCODE

@ SCIP_STAGE_INITPRESOLVE

@ SCIP_STAGE_EXITPRESOLVE

@ SCIP_STAGE_TRANSFORMING

@ SCIP_SOLORIGIN_RELAXSOL

@ SCIP_SOLORIGIN_PSEUDOSOL

@ SCIP_SOLORIGIN_ORIGINAL

@ SCIP_VARTYPE_CONTINUOUS

@ SCIP_VARSTATUS_MULTAGGR

declarations for XML parsing

const XML_NODE * xmlFirstChild(const XML_NODE *node)

const XML_NODE * xmlFindNodeMaxdepth(const XML_NODE *node, const char *name, int depth, int maxdepth)

const char * xmlGetAttrval(const XML_NODE *node, const char *name)

struct XML_NODE_struct XML_NODE

const XML_NODE * xmlNextSibl(const XML_NODE *node)

XML_NODE * xmlProcess(const char *filename)

void xmlFreeNode(XML_NODE *node)


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