MipSolverBase Class Reference
[General Optimization Tools]

#include <lemon/lp_base.h>

Inherits LpSolverBase.

Inherited by MipCplex, and MipGlpk.

Inheritance diagram for MipSolverBase:

Inheritance graph
[legend]
List of all members.

Detailed Description

Common base class for MIP solvers
Todo:
Much more docs


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.


Member Enumeration Documentation

enum ColTypes

Enumerator:
REAL  Continuous variable.
INT  Integer variable.

Unfortunately, cplex 7.5 somewhere writes something like define INTEGER 'I'


Member Function Documentation

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.

Returns:
true if the column has integer type and false if not.


The documentation for this class was generated from the following file:
Generated on Tue Oct 31 09:51:02 2006 for LEMON by  doxygen 1.5.1