LagHeu2b Class Reference
Modification of LagHeu2.
More...
#include <lagheu.h>
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< dvector > | z |
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< MinlpPenaltyFunc > | penalty |
multimap< double, dvector > | candidates |
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
Member Function Documentation
int LagHeu2b::block_value |
( |
double & |
val, |
|
|
int |
k | |
|
) |
| | [private] |
void LagHeu2b::search |
( |
double |
ns |
) |
[private] |
double LagHeu2b::key |
( |
|
) |
[private] |
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] |
Member Data Documentation
{ ((key, k), { (z*_kj, w_kj) }_j }_k
Definition at line 259 of file lagheu.h.
The documentation for this class was generated from the following file: