LagHeu2b Class Reference

Modification of LagHeu2. More...

#include <lagheu.h>

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

List of all members.

Public Member Functions

 LagHeu2b (Pointer< MinlpProblem > orig_prob_, Pointer< LinearRelax > linrelax_, bool is_gams_prob=false, double closeval_tol_=0., Pointer< dvector > diam_=NULL, Pointer< Param > param_=NULL, Pointer< ostream > out_solver_p_=out_out_p, Pointer< ostream > out_solver_log_p_=out_log_p)
int solve (Pointer< MinlpNode > node_)
void set_reform (Pointer< Reformulation > reform_)

Private Member Functions

int block_value (double &val, int k)
void search (double ns)
double key ()
 Gives key for x.
bool project ()
 Tries to make x feasible.
bool switch_binaries (double val, bool eq, map< int, double > &coeff)
void make_binaries_feasible ()
void switch_binaries2 (double val, bool eq, map< int, double > &coeff)
void switch_binaries2_rek (double val, bool eq, double &bestval, dvector &pt, map< int, double >::iterator coeff_it, map< int, double > &coeff)
void move_continuous (double &val, bool eq, map< int, double > &cont_coeff)

Private Attributes

dvector x
vector< dvectorz
map< pair< double, int >
, multimap< double, list
< ExtremePoint >::iterator > > 
W
 { ((key, k), { (z*_kj, w_kj) }_j }_k
dvector W_val
list< int > unfixed_blocks
Pointer< MinlpPenaltyFuncpenalty
multimap< double, dvectorcandidates
int max_candidates
int max_ns
double ns_done
double ns_all
int lastprint

Detailed Description

Modification of LagHeu2.

Parameters:
LagHeu2 max locopt options integer $ 0$ default 100 level 0 Number of best candidates to keep for local optimization.
LagHeu2 max combinations options integer $ 0$ default 10000 level 0 Upper bound on the number of combinations of extreme points to explore.

Definition at line 252 of file lagheu.h.


Constructor & Destructor Documentation

LagHeu2b::LagHeu2b ( Pointer< MinlpProblem orig_prob_,
Pointer< LinearRelax linrelax_,
bool  is_gams_prob = false,
double  closeval_tol_ = 0.,
Pointer< dvector diam_ = NULL,
Pointer< Param param_ = NULL,
Pointer< ostream >  out_solver_p_ = out_out_p,
Pointer< ostream >  out_solver_log_p_ = out_log_p 
)

Member Function Documentation

int LagHeu2b::block_value ( double &  val,
int  k 
) [private]
void LagHeu2b::search ( double  ns  )  [private]
double LagHeu2b::key (  )  [private]

Gives key for x.

bool LagHeu2b::project (  )  [private]

Tries to make x feasible.

bool LagHeu2b::switch_binaries ( double  val,
bool  eq,
map< int, double > &  coeff 
) [private]
void LagHeu2b::make_binaries_feasible (  )  [private]
void LagHeu2b::switch_binaries2 ( double  val,
bool  eq,
map< int, double > &  coeff 
) [private]
void LagHeu2b::switch_binaries2_rek ( double  val,
bool  eq,
double &  bestval,
dvector pt,
map< int, double >::iterator  coeff_it,
map< int, double > &  coeff 
) [private]
void LagHeu2b::move_continuous ( double &  val,
bool  eq,
map< int, double > &  cont_coeff 
) [private]
int LagHeu2b::solve ( Pointer< MinlpNode node_  )  [virtual]

Implements LagHeu.

void LagHeu2b::set_reform ( Pointer< Reformulation reform_  )  [virtual]

Reimplemented from RelaxationSolver.


Member Data Documentation

dvector LagHeu2b::x [private]

Definition at line 254 of file lagheu.h.

vector<dvector> LagHeu2b::z [private]

Definition at line 255 of file lagheu.h.

map<pair<double, int>, multimap<double, list<ExtremePoint>::iterator> > LagHeu2b::W [private]

{ ((key, k), { (z*_kj, w_kj) }_j }_k

Definition at line 259 of file lagheu.h.

Definition at line 261 of file lagheu.h.

list<int> LagHeu2b::unfixed_blocks [private]

Definition at line 262 of file lagheu.h.

Definition at line 264 of file lagheu.h.

multimap<double, dvector> LagHeu2b::candidates [private]

Definition at line 266 of file lagheu.h.

int LagHeu2b::max_candidates [private]

Definition at line 267 of file lagheu.h.

int LagHeu2b::max_ns [private]

Definition at line 269 of file lagheu.h.

double LagHeu2b::ns_done [private]

Definition at line 271 of file lagheu.h.

double LagHeu2b::ns_all [private]

Definition at line 272 of file lagheu.h.

int LagHeu2b::lastprint [private]

Definition at line 273 of file lagheu.h.


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

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1