OSDipBlockSlpSolver Class Reference

#include <OSDipBlockSlpSolver.h>

Inheritance diagram for OSDipBlockSlpSolver:
Inheritance graph
[legend]
Collaboration diagram for OSDipBlockSlpSolver:
Collaboration graph
[legend]

List of all members.

Classes

class  Factory

Public Member Functions

virtual void solve (double *cost, std::vector< IndexValuePair * > *solIndexValPair, double *optVal)
virtual void solve (double *cost, std::string *osrl)
 OSDipBlockSlpSolver ()
 Default Constructor.
 OSDipBlockSlpSolver (OSInstance *osinstance)
 Create the solver with the instance.
 ~OSDipBlockSlpSolver ()
 Default destructor.

Public Attributes

OSInstancem_osinstance
OSResultm_osresult
int m_numberOfVar
std::vector< IndexValuePair * > m_primalVals

Detailed Description

Definition at line 36 of file OSDipBlockSlpSolver.h.


Constructor & Destructor Documentation

OSDipBlockSlpSolver::OSDipBlockSlpSolver (  ) 

Default Constructor.

Definition at line 21 of file OSDipBlockSlpSolver.cpp.

OSDipBlockSlpSolver::OSDipBlockSlpSolver ( OSInstance osinstance  ) 

Create the solver with the instance.

Definition at line 27 of file OSDipBlockSlpSolver.cpp.

OSDipBlockSlpSolver::~OSDipBlockSlpSolver (  ) 

Default destructor.

Definition at line 41 of file OSDipBlockSlpSolver.cpp.


Member Function Documentation

void OSDipBlockSlpSolver::solve ( double *  cost,
std::vector< IndexValuePair * > *  solIndexValPair,
double *  optVal 
) [virtual]

Calculate the function value given the current variable values. This is an abstract method which is required to be implemented by the concrete operator nodes that derive or extend from this OSnLNode class.

Parameters:
cost -- an input value: pointer to the objective function (reduced) coefficients.
sv -- a return value: sparse vector with the optimal column
optVal -- a return value: the optimal solution value of the subproblem

Implements OSDipBlockSolver.

Definition at line 55 of file OSDipBlockSlpSolver.cpp.

void OSDipBlockSlpSolver::solve ( double *  cost,
std::string *  osrl 
) [virtual]

Calculate the function value given the current variable values. This is an abstract method which is required to be implemented by the concrete operator nodes that derive or extend from this OSnLNode class.

Parameters:
cost -- an input value: pointer to the objective function (reduced) coefficients.
osrl -- a return value: an osrl string

Implements OSDipBlockSolver.

Definition at line 148 of file OSDipBlockSlpSolver.cpp.


Member Data Documentation

Definition at line 40 of file OSDipBlockSlpSolver.h.

Definition at line 41 of file OSDipBlockSlpSolver.h.

Definition at line 42 of file OSDipBlockSlpSolver.h.

Definition at line 44 of file OSDipBlockSlpSolver.h.


The documentation for this class was generated from the following files:

Generated on 16 Feb 2012 by  doxygen 1.6.1