#include <lemon/lp_base.h>
Inherits LpSolverBase.
Inherited by MipCplex, and MipGlpk.
Inheritance diagram for MipSolverBase:
Public Types | |
enum | ColTypes { REAL = 0, INT = 1 } |
Possible variable (coloumn) types (e.g. real, integer, binary etc.). More... | |
Public Member Functions | |
void | colType (Col c, ColTypes col_type) |
ColTypes | colType (Col c) |
void | integer (Col c, bool enable) |
bool | integer (Col c) |
SolutionStatus | mipStatus () |
The status of the MIP problem. |
enum ColTypes |
void colType | ( | Col | c, | |
ColTypes | col_type | |||
) | [inline] |
Sets the type of the given coloumn to the given type
Sets the type of the given coloumn to the given type.
ColTypes colType | ( | Col | c | ) | [inline] |
Gives back the type of the column.
Gives back the type of the column.
void integer | ( | Col | c, | |
bool | enable | |||
) | [inline] |
Sets the type of the given Col to integer or remove that property.
Sets the type of the given Col to integer or remove that property.
bool integer | ( | Col | c | ) | [inline] |
Gives back whether the type of the column is integer or not.
Gives back the type of the column.