Scippy

    SCIP

    Solving Constraint Integer Programs

    scip_sol.h File Reference

    Detailed Description

    public methods for solutions

    Author
    Tobias Achterberg
    Timo Berthold
    Thorsten Koch
    Alexander Martin
    Marc Pfetsch
    Kati Wolter
    Gregor Hendel
    Leona Gottwald

    Definition in file scip_sol.h.

    #include "scip/def.h"
    #include "scip/type_cons.h"
    #include "scip/type_heur.h"
    #include "scip/type_rational.h"
    #include "scip/type_retcode.h"
    #include "scip/type_scip.h"
    #include "scip/type_sol.h"
    #include "scip/type_var.h"

    Go to the source code of this file.

    Functions

    SCIP_RETCODE SCIPcreateSol (SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)
     
    SCIP_RETCODE SCIPcreateSolExact (SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)
     
    SCIP_RETCODE SCIPcreateLPSol (SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)
     
    SCIP_RETCODE SCIPcreateLPSolExact (SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)
     
    SCIP_RETCODE SCIPcreateNLPSol (SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)
     
    SCIP_RETCODE SCIPcreateRelaxSol (SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)
     
    SCIP_RETCODE SCIPcreatePseudoSol (SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)
     
    SCIP_RETCODE SCIPcreateCurrentSol (SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)
     
    SCIP_RETCODE SCIPcreatePartialSol (SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)
     
    SCIP_RETCODE SCIPcreateUnknownSol (SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)
     
    SCIP_RETCODE SCIPcreateOrigSol (SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur)
     
    SCIP_RETCODE SCIPcreateSolCopy (SCIP *scip, SCIP_SOL **sol, SCIP_SOL *sourcesol)
     
    SCIP_RETCODE SCIPcreateSolCopyOrig (SCIP *scip, SCIP_SOL **sol, SCIP_SOL *sourcesol)
     
    SCIP_RETCODE SCIPcreateFiniteSolCopy (SCIP *scip, SCIP_SOL **sol, SCIP_SOL *sourcesol, SCIP_Bool *success)
     
    SCIP_RETCODE SCIPfreeSol (SCIP *scip, SCIP_SOL **sol)
     
    SCIP_RETCODE SCIPlinkLPSol (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPlinkLPSolExact (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPlinkNLPSol (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPlinkRelaxSol (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPlinkPseudoSol (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPlinkCurrentSol (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPclearSol (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPunlinkSol (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPunlinkSolExact (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPsetSolVal (SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var, SCIP_Real val)
     
    SCIP_RETCODE SCIPsetSolValExact (SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var, SCIP_RATIONAL *val)
     
    SCIP_RETCODE SCIPsetSolVals (SCIP *scip, SCIP_SOL *sol, int nvars, SCIP_VAR **vars, SCIP_Real *vals)
     
    SCIP_RETCODE SCIPincSolVal (SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var, SCIP_Real incval)
     
    SCIP_Real SCIPgetSolVal (SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var)
     
    void SCIPgetSolValExact (SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var, SCIP_RATIONAL *res)
     
    SCIP_RETCODE SCIPgetSolVals (SCIP *scip, SCIP_SOL *sol, int nvars, SCIP_VAR **vars, SCIP_Real *vals)
     
    SCIP_Real SCIPgetSolOrigObj (SCIP *scip, SCIP_SOL *sol)
     
    void SCIPgetSolOrigObjExact (SCIP *scip, SCIP_SOL *sol, SCIP_RATIONAL *res)
     
    SCIP_Real SCIPgetSolTransObj (SCIP *scip, SCIP_SOL *sol)
     
    void SCIPgetSolTransObjExact (SCIP *scip, SCIP_SOL *sol, SCIP_RATIONAL *res)
     
    SCIP_RETCODE SCIPrecomputeSolObj (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_Real SCIPtransformObj (SCIP *scip, SCIP_Real obj)
     
    SCIP_Real SCIPretransformObj (SCIP *scip, SCIP_Real obj)
     
    SCIP_Real SCIPgetSolTime (SCIP *scip, SCIP_SOL *sol)
     
    int SCIPgetSolRunnum (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_Longint SCIPgetSolNodenum (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_HEURSCIPgetSolHeur (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_Bool SCIPareSolsEqual (SCIP *scip, SCIP_SOL *sol1, SCIP_SOL *sol2)
     
    SCIP_RETCODE SCIPadjustImplicitSolVals (SCIP *scip, SCIP_SOL *sol, SCIP_Bool uselprows)
     
    SCIP_RETCODE SCIPprintSol (SCIP *scip, SCIP_SOL *sol, FILE *file, SCIP_Bool printzeros)
     
    SCIP_RETCODE SCIPprintSolExact (SCIP *scip, SCIP_SOL *sol, FILE *file, SCIP_Bool printzeros)
     
    SCIP_RETCODE SCIPprintTransSol (SCIP *scip, SCIP_SOL *sol, FILE *file, SCIP_Bool printzeros)
     
    SCIP_RETCODE SCIPprintMIPStart (SCIP *scip, SCIP_SOL *sol, FILE *file)
     
    SCIP_RETCODE SCIPgetDualSolVal (SCIP *scip, SCIP_CONS *cons, SCIP_Real *dualsolval, SCIP_Bool *boundconstraint)
     
    SCIP_Bool SCIPisDualSolAvailable (SCIP *scip, SCIP_Bool printreason)
     
    SCIP_RETCODE SCIPprintDualSol (SCIP *scip, FILE *file, SCIP_Bool printzeros)
     
    SCIP_RETCODE SCIPprintRay (SCIP *scip, SCIP_SOL *sol, FILE *file, SCIP_Bool printzeros)
     
    int SCIPgetNSols (SCIP *scip)
     
    SCIP_SOL ** SCIPgetSols (SCIP *scip)
     
    SCIP_SOLSCIPgetBestSol (SCIP *scip)
     
    SCIP_RETCODE SCIPprintBestSol (SCIP *scip, FILE *file, SCIP_Bool printzeros)
     
    SCIP_RETCODE SCIPprintBestTransSol (SCIP *scip, FILE *file, SCIP_Bool printzeros)
     
    SCIP_RETCODE SCIProundSol (SCIP *scip, SCIP_SOL *sol, SCIP_Bool *success)
     
    SCIP_RETCODE SCIPmakeSolExact (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPretransformSol (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPretransformSolExact (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPreadSol (SCIP *scip, const char *filename)
     
    SCIP_RETCODE SCIPreadSolFile (SCIP *scip, const char *filename, SCIP_SOL *sol, SCIP_Bool xml, SCIP_Bool *partial, SCIP_Bool *error)
     
    SCIP_RETCODE SCIPaddSol (SCIP *scip, SCIP_SOL *sol, SCIP_Bool *stored)
     
    SCIP_RETCODE SCIPaddSolFree (SCIP *scip, SCIP_SOL **sol, SCIP_Bool *stored)
     
    SCIP_RETCODE SCIPaddCurrentSol (SCIP *scip, SCIP_HEUR *heur, SCIP_Bool *stored)
     
    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 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 SCIPtryCurrentSol (SCIP *scip, SCIP_HEUR *heur, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool *stored)
     
    SCIP_SOL ** SCIPgetPartialSols (SCIP *scip)
     
    int SCIPgetNPartialSols (SCIP *scip)
     
    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_RETCODE SCIPcheckSolOrig (SCIP *scip, SCIP_SOL *sol, SCIP_Bool *feasible, SCIP_Bool printreason, SCIP_Bool completely)
     
    void SCIPupdateSolIntegralityViolation (SCIP *scip, SCIP_SOL *sol, SCIP_Real absviol)
     
    void SCIPupdateSolBoundViolation (SCIP *scip, SCIP_SOL *sol, SCIP_Real absviol, SCIP_Real relviol)
     
    void SCIPupdateSolLPRowViolation (SCIP *scip, SCIP_SOL *sol, SCIP_Real absviol, SCIP_Real relviol)
     
    void SCIPupdateSolConsViolation (SCIP *scip, SCIP_SOL *sol, SCIP_Real absviol, SCIP_Real relviol)
     
    void SCIPupdateSolLPConsViolation (SCIP *scip, SCIP_SOL *sol, SCIP_Real absviol, SCIP_Real relviol)
     
    void SCIPactivateSolViolationUpdates (SCIP *scip)
     
    void SCIPdeactivateSolViolationUpdates (SCIP *scip)
     
    SCIP_Bool SCIPhasPrimalRay (SCIP *scip)
     
    SCIP_Real SCIPgetPrimalRayVal (SCIP *scip, SCIP_VAR *var)
     
    SCIP_RETCODE SCIPupdatePrimalRay (SCIP *scip, SCIP_SOL *primalray)
     
    SCIP_RETCODE SCIPoverwriteFPsol (SCIP *scip, SCIP_SOL *sol)
     
    SCIP_RETCODE SCIPtrySolFreeExact (SCIP *scip, SCIP_SOL **sol, SCIP_Bool printreason, SCIP_Bool completely, SCIP_Bool checkbounds, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool *stored)