LinearizationCut Class Reference

#include <cuts.h>

Inheritance diagram for LinearizationCut:

Inheritance graph
[legend]
Collaboration diagram for LinearizationCut:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LinearizationCut ()
 LinearizationCut (const Pointer< UserVector< double > > &coeff_, double constant_)
 LinearizationCut (const Pointer< UserVector< double > > &coeff_, double constant_, int objcon_nr_, bool derived_from_lower_part_, const dvector &x_, double t_)

Public Attributes

int objcon_nr
 The number of the constraint from which the cut was derived.
bool derived_from_lower_part
 Indicates whether the cut was derived from the lower or upper part of the constraint.
dvector x
 The point where the cut was generated (as a block in the non reformulated problem).
double t_value
 Value of t-variable for this block, if reformulated.
double violation
 The violation of the reference point x w.r.t.

Detailed Description

Definition at line 79 of file cuts.h.


Constructor & Destructor Documentation

LinearizationCut::LinearizationCut (  )  [inline]

Definition at line 81 of file cuts.h.

LinearizationCut::LinearizationCut ( const Pointer< UserVector< double > > &  coeff_,
double  constant_ 
) [inline]

Definition at line 85 of file cuts.h.

LinearizationCut::LinearizationCut ( const Pointer< UserVector< double > > &  coeff_,
double  constant_,
int  objcon_nr_,
bool  derived_from_lower_part_,
const dvector x_,
double  t_ 
) [inline]

Definition at line 89 of file cuts.h.


Member Data Documentation

int LinearizationCut::objcon_nr

The number of the constraint from which the cut was derived.

-1 if it was derived from the objective function. -2 if not set.

Definition at line 95 of file cuts.h.

bool LinearizationCut::derived_from_lower_part

Indicates whether the cut was derived from the lower or upper part of the constraint.

Definition at line 98 of file cuts.h.

dvector LinearizationCut::x

The point where the cut was generated (as a block in the non reformulated problem).

Definition at line 101 of file cuts.h.

double LinearizationCut::t_value

Value of t-variable for this block, if reformulated.

Definition at line 104 of file cuts.h.

double LinearizationCut::violation

The violation of the reference point x w.r.t.

this cut, i.e., how ``much'' do we cut off the ref. point.

Definition at line 108 of file cuts.h.


The documentation for this class was generated from the following file:
Generated on Wed Oct 22 03:12:57 2008 for LaGO by  doxygen 1.4.7