Heuristics Class Reference

#include <Heuristics.hpp>

Collaboration diagram for Heuristics:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Heuristics (const int, const int, const int, const double, const double *, const double *, const double **, const double **, const double *, const char *, const double *, const double *, const double *, const double *, const OsiSolverInterface *si, Tracer *tracer)
 ~Heuristics ()
double bestObj ()
double * bestSol ()
double currObj ()
int run ()

Private Member Functions

int update (double *, double)
int heurLP_improveSolution (double *)
int processSol (double *, bool, double *, double *)
double * xxTHeur ()
double * MNHeur ()

Private Attributes

const int n_
const int t_
int N_
const int cons_
const double objConst_
const double * b_
const double * c_
const double ** Q_
const double ** origMat_
const double * origRhs_
const char * origSense_
const double * xlb_
const double * xub_
const double * ylb_
const double * yub_
const OsiSolverInterface * si_
double currObj_
double bestObj_
double * bestSol_
bool * heurLbRowAdded_
double * xxTSol_
double * MNSol_
double * temp_row_
OsiXxxSolverInterface MNLPSi_
OsiXxxSolverInterface heurLPimproveSi_
Tracertracer_

Detailed Description

Definition at line 20 of file Heuristics.hpp.


Constructor & Destructor Documentation

Heuristics::Heuristics ( const int  n,
const int  t,
const int  cons,
const double  objConst,
const double *  b,
const double *  c,
const double **  Q,
const double **  origMat,
const double *  origRhs,
const char *  origSense,
const double *  xlb,
const double *  xub,
const double *  ylb,
const double *  yub,
const OsiSolverInterface *  si,
Tracer tracer 
)

Definition at line 24 of file Heuristics.cpp.

Heuristics::~Heuristics (  ) 

Definition at line 174 of file Heuristics.cpp.


Member Function Documentation

int Heuristics::update ( double *  sol,
double  value 
) [private]

Definition at line 506 of file Heuristics.cpp.

int Heuristics::heurLP_improveSolution ( double *  sol  )  [private]

Definition at line 466 of file Heuristics.cpp.

int Heuristics::processSol ( double *  sol,
bool  improveHeurLP,
double *  origvalue,
double *  lpheurvalue 
) [private]

Definition at line 394 of file Heuristics.cpp.

double * Heuristics::xxTHeur (  )  [private]

Definition at line 259 of file Heuristics.cpp.

double * Heuristics::MNHeur (  )  [private]

Definition at line 278 of file Heuristics.cpp.

double Heuristics::bestObj (  )  [inline]

Definition at line 80 of file Heuristics.hpp.

double* Heuristics::bestSol (  )  [inline]

Definition at line 81 of file Heuristics.hpp.

double Heuristics::currObj (  )  [inline]

Definition at line 82 of file Heuristics.hpp.

int Heuristics::run (  ) 

Definition at line 182 of file Heuristics.cpp.


Member Data Documentation

const int Heuristics::n_ [private]

Definition at line 22 of file Heuristics.hpp.

const int Heuristics::t_ [private]

Definition at line 23 of file Heuristics.hpp.

int Heuristics::N_ [private]

Definition at line 24 of file Heuristics.hpp.

const int Heuristics::cons_ [private]

Definition at line 25 of file Heuristics.hpp.

const double Heuristics::objConst_ [private]

Definition at line 26 of file Heuristics.hpp.

const double* Heuristics::b_ [private]

Definition at line 27 of file Heuristics.hpp.

const double* Heuristics::c_ [private]

Definition at line 28 of file Heuristics.hpp.

const double** Heuristics::Q_ [private]

Definition at line 29 of file Heuristics.hpp.

const double** Heuristics::origMat_ [private]

Definition at line 30 of file Heuristics.hpp.

const double* Heuristics::origRhs_ [private]

Definition at line 31 of file Heuristics.hpp.

const char* Heuristics::origSense_ [private]

Definition at line 32 of file Heuristics.hpp.

const double* Heuristics::xlb_ [private]

Definition at line 33 of file Heuristics.hpp.

const double* Heuristics::xub_ [private]

Definition at line 34 of file Heuristics.hpp.

const double* Heuristics::ylb_ [private]

Definition at line 35 of file Heuristics.hpp.

const double* Heuristics::yub_ [private]

Definition at line 36 of file Heuristics.hpp.

const OsiSolverInterface* Heuristics::si_ [private]

Definition at line 37 of file Heuristics.hpp.

double Heuristics::currObj_ [private]

Definition at line 39 of file Heuristics.hpp.

double Heuristics::bestObj_ [private]

Definition at line 40 of file Heuristics.hpp.

double* Heuristics::bestSol_ [private]

Definition at line 41 of file Heuristics.hpp.

bool* Heuristics::heurLbRowAdded_ [private]

Definition at line 43 of file Heuristics.hpp.

double* Heuristics::xxTSol_ [private]

Definition at line 47 of file Heuristics.hpp.

double* Heuristics::MNSol_ [private]

Definition at line 50 of file Heuristics.hpp.

double* Heuristics::temp_row_ [private]

Definition at line 51 of file Heuristics.hpp.

Definition at line 52 of file Heuristics.hpp.

Definition at line 54 of file Heuristics.hpp.

Definition at line 55 of file Heuristics.hpp.


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

Generated on 16 Feb 2012 by  doxygen 1.6.1