SmallIP_DecompApp Class Reference

#include <SmallIP_DecompApp.h>

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

List of all members.

Public Member Functions

Helper functions (public).



void createModels ()
 Create model parts.
virtual int generateInitVars (DecompVarList &initVars)
 Initialize the dual vector for PhaseII of PC.
 SmallIP_DecompApp (UtilParameters &utilParam)
virtual ~SmallIP_DecompApp ()
void createModels ()
 Create model parts.
virtual int generateInitVars (DecompVarList &initVars)
 Initialize the dual vector for PhaseII of PC.
virtual DecompSolverStatus solveRelaxed (const int whichBlock, const double *redCostX, const double convexDual, DecompVarList &varList)
 Initialize the dual vector for PhaseII of PC.
 SmallIP_DecompApp (UtilParameters &utilParam)
virtual ~SmallIP_DecompApp ()

Private Attributes

const string m_classTag
 Class id tag (for log / debugging).
double * m_objective
 The model objective coefficients (original space).
DecompConstraintSet m_modelPart1
 The various model constraint systems used for different algos.
DecompConstraintSet m_modelPart2
OsiIpSolverInterface m_osi
 OSI object to use with solveRelaxed.

Detailed Description

A DecompApp to illustrate a basic usage of Decomp.

See also:
DecompApp

Definition at line 31 of file SmallIP_DecompApp.h.


Constructor & Destructor Documentation

SmallIP_DecompApp::SmallIP_DecompApp ( UtilParameters utilParam  )  [inline]

Definition at line 54 of file SmallIP_DecompApp.h.

References createModels().

virtual SmallIP_DecompApp::~SmallIP_DecompApp (  )  [inline, virtual]

Definition at line 62 of file SmallIP_DecompApp.h.

References m_objective, and UTIL_DELARR.

SmallIP_DecompApp::SmallIP_DecompApp ( UtilParameters utilParam  )  [inline]

Definition at line 59 of file SmallIP_DecompApp2.h.

References createModels().

virtual SmallIP_DecompApp::~SmallIP_DecompApp (  )  [inline, virtual]

Definition at line 67 of file SmallIP_DecompApp2.h.

References m_objective, and UTIL_DELARR.


Member Function Documentation

void SmallIP_DecompApp::createModels (  ) 

Create model parts.

Reimplemented from DecompApp.

Referenced by SmallIP_DecompApp().

virtual int SmallIP_DecompApp::generateInitVars ( DecompVarList initVars  )  [virtual]

Initialize the dual vector for PhaseII of PC.

The user is passed a reference to the internal data and can manipulate it directly.

This is only called when dual stabilization is used, i.e., when m_param.DualStab > 0, at the first iteration of PhaseII of PC. The vector is immediately smoothed with the initial restricted master duals. By default, the restricted mater is used as the initial dual and, therefore, no smoothing occurs in the first iteration.

Reimplemented from DecompApp.

void SmallIP_DecompApp::createModels (  ) 

Create model parts.

Reimplemented from DecompApp.

virtual int SmallIP_DecompApp::generateInitVars ( DecompVarList initVars  )  [virtual]

Initialize the dual vector for PhaseII of PC.

The user is passed a reference to the internal data and can manipulate it directly.

This is only called when dual stabilization is used, i.e., when m_param.DualStab > 0, at the first iteration of PhaseII of PC. The vector is immediately smoothed with the initial restricted master duals. By default, the restricted mater is used as the initial dual and, therefore, no smoothing occurs in the first iteration.

Reimplemented from DecompApp.

virtual DecompSolverStatus SmallIP_DecompApp::solveRelaxed ( const int  whichBlock,
const double *  redCostX,
const double  target,
DecompVarList varList 
) [virtual]

Initialize the dual vector for PhaseII of PC.

The user is passed a reference to the internal data and can manipulate it directly.

This is only called when dual stabilization is used, i.e., when m_param.DualStab > 0, at the first iteration of PhaseII of PC. The vector is immediately smoothed with the initial restricted master duals. By default, the restricted mater is used as the initial dual and, therefore, no smoothing occurs in the first iteration.

Reimplemented from DecompApp.


Member Data Documentation

const string SmallIP_DecompApp::m_classTag [private]

Class id tag (for log / debugging).

Reimplemented from DecompApp.

Definition at line 34 of file SmallIP_DecompApp.h.

double * SmallIP_DecompApp::m_objective [private]

The model objective coefficients (original space).

Reimplemented from DecompApp.

Definition at line 37 of file SmallIP_DecompApp.h.

Referenced by ~SmallIP_DecompApp().

The various model constraint systems used for different algos.

Definition at line 40 of file SmallIP_DecompApp.h.

Definition at line 41 of file SmallIP_DecompApp.h.

OSI object to use with solveRelaxed.

Definition at line 42 of file SmallIP_DecompApp2.h.


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

Generated on 12 Feb 2015 for Dip-All by  doxygen 1.6.1