All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
heur_trysol.h File Reference Detailed Descriptionprimal heuristic that tries a given solution This heuristic takes a solution from somewhere else via the function SCIPheurPassSolTrySol(). It then tries to commit this solution. It is mainly used by cons_indicator, which tries to correct a given solution, but cannot directly submit this solution, because it is a constraint handler and not a heuristic. Definition in file heur_trysol.h. #include "scip/scip.h" Go to the source code of this file.
Function Documentation
creates the trysol primal heuristic and includes it in SCIP
Definition at line 206 of file heur_trysol.c. References FALSE, HEUR_DESC, HEUR_DISPCHAR, HEUR_FREQ, HEUR_FREQOFS, HEUR_MAXDEPTH, HEUR_NAME, HEUR_PRIORITY, HEUR_TIMING, HEUR_USESSUBSCIP, NULL, SCIP_CALL, SCIP_OKAY, SCIPallocMemory, SCIPincludeHeurBasic(), SCIPsetHeurCopy(), SCIPsetHeurExit(), and SCIPsetHeurFree(). Referenced by SCIP_DECL_HEURCOPY(), and SCIPincludeDefaultPlugins().
pass solution to trysol heuristic
Definition at line 236 of file heur_trysol.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreateSolCopy(), SCIPdebugMessage, SCIPfreeSol(), SCIPgetSolOrigObj(), SCIPheurGetData(), SCIPheurGetName(), SCIPisLT(), SCIPsolSetHeur(), and SCIPunlinkSol(). Referenced by proposeFeasibleSolution(), SCIP_DECL_CONSCHECK(), and SCIP_DECL_CONSSEPALP().
pass solution to trysol heuristic which just gets added (without checking feasibility
Definition at line 275 of file heur_trysol.c. References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreateSolCopy(), SCIPdebugMessage, SCIPfreeSol(), SCIPgetSolOrigObj(), SCIPheurGetData(), SCIPheurGetName(), SCIPisLT(), SCIPsolSetHeur(), and SCIPunlinkSol(). Referenced by checkSystemGF2(). |