LagHeu2 Class Reference
Another lagrange heuristic.
More...
#include <lagheu.h>
List of all members.
Public Member Functions |
| LagHeu2 (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 |
void | search (map< pair< double, int >, multimap< double, list< ExtremePoint >::iterator > >::reverse_iterator it_k, double ns) |
bool | project (dvector &res) |
| Tries to make x feasible.
|
double | key (const dvector &x) |
| Gives key for x.
|
Private Attributes |
dvector | x |
map< pair< double, int >
, multimap< double, list
< ExtremePoint >::iterator > > | W |
| { ((key, k), { (z*_kj, w_kj) }_j }_k
|
Pointer< MinlpPenaltyFunc > | penalty |
map< double, dvector > | candidates |
int | max_candidates |
int | max_ns |
double | ns_done |
double | ns_all |
int | lastprint |
Detailed Description
Another lagrange heuristic.
- 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 198 of file lagheu.h.
Constructor & Destructor Documentation
Member Function Documentation
void LagHeu2::search |
( |
map< pair< double, int >, multimap< double, list< ExtremePoint >::iterator > >::reverse_iterator |
it_k, |
|
|
double |
ns | |
|
) |
| | [private] |
bool LagHeu2::project |
( |
dvector & |
res |
) |
[private] |
Tries to make x feasible.
- Parameters:
-
| res | The vector to store the result in. |
- Returns:
- True, if project_LP was feasible, false else.
double LagHeu2::key |
( |
const dvector & |
x |
) |
[private] |
Member Data Documentation
{ ((key, k), { (z*_kj, w_kj) }_j }_k
Definition at line 204 of file lagheu.h.
The documentation for this class was generated from the following file: