Scippy

SCIP

Solving Constraint Integer Programs

type_sol.h File Reference

Detailed Description

type definitions for storing primal CIP solutions

Author
Tobias Achterberg

Definition in file type_sol.h.

Go to the source code of this file.

Typedefs

typedef enum SCIP_SolOrigin SCIP_SOLORIGIN
 
typedef struct SCIP_Sol SCIP_SOL
 
typedef struct SCIP_Viol SCIP_VIOL
 
typedef enum SCIP_SolType SCIP_SOLTYPE
 

Enumerations

enum  SCIP_SolOrigin {
  SCIP_SOLORIGIN_ORIGINAL = 0,
  SCIP_SOLORIGIN_ZERO = 1,
  SCIP_SOLORIGIN_LPSOL = 2,
  SCIP_SOLORIGIN_NLPSOL = 3,
  SCIP_SOLORIGIN_RELAXSOL = 4,
  SCIP_SOLORIGIN_PSEUDOSOL = 5,
  SCIP_SOLORIGIN_PARTIAL = 6,
  SCIP_SOLORIGIN_UNKNOWN = 7
}
 
enum  SCIP_SolType {
  SCIP_SOLTYPE_UNKNOWN = 0,
  SCIP_SOLTYPE_HEUR = 1,
  SCIP_SOLTYPE_RELAX = 2,
  SCIP_SOLTYPE_LPRELAX = 3,
  SCIP_SOLTYPE_STRONGBRANCH = 4,
  SCIP_SOLTYPE_PSEUDO = 5
}
 

Typedef Documentation

◆ SCIP_SOLORIGIN

Definition at line 46 of file type_sol.h.

◆ SCIP_SOL

typedef struct SCIP_Sol SCIP_SOL

primal CIP solution

Definition at line 48 of file type_sol.h.

◆ SCIP_VIOL

typedef struct SCIP_Viol SCIP_VIOL

maximum violations of problem constraints

Definition at line 50 of file type_sol.h.

◆ SCIP_SOLTYPE

typedef enum SCIP_SolType SCIP_SOLTYPE

Definition at line 62 of file type_sol.h.

Enumeration Type Documentation

◆ SCIP_SolOrigin

origin of solution: where to retrieve uncached elements

Enumerator
SCIP_SOLORIGIN_ORIGINAL 

solution describes original variables; non-cached elements are zero

SCIP_SOLORIGIN_ZERO 

all non-cached elements in solution are equal to zero

SCIP_SOLORIGIN_LPSOL 

all non-cached elements in solution are equal to current LP solution

SCIP_SOLORIGIN_NLPSOL 

all non-cached elements in solution are equal to current NLP solution

SCIP_SOLORIGIN_RELAXSOL 

all non-cached elements in solution are equal to current relaxation solution

SCIP_SOLORIGIN_PSEUDOSOL 

all non-cached elements in solution are equal to current pseudo solution

SCIP_SOLORIGIN_PARTIAL 

solution describes original solution; all non-cached elements in solution are treated as being an arbitrary value in the variable's bounds

SCIP_SOLORIGIN_UNKNOWN 

all non-cached elements in solution are unknown; they have to be treated as being an arbitrary value in the variable's bounds

Definition at line 31 of file type_sol.h.

◆ SCIP_SolType

type of solution: heuristic or (LP) relaxation solution, or unspecified origin

Enumerator
SCIP_SOLTYPE_UNKNOWN 

type of solution unspecified (the default)

SCIP_SOLTYPE_HEUR 

solution was found by a heuristic

SCIP_SOLTYPE_RELAX 

solution was found by a relaxation

SCIP_SOLTYPE_LPRELAX 

solution was found by the LP relaxation

SCIP_SOLTYPE_STRONGBRANCH 

solution was found during strong branching

SCIP_SOLTYPE_PSEUDO 

solution originates from a pseudo solution

Definition at line 53 of file type_sol.h.