- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# /home/coin/SVN-release/Blis-0.91.2/Alps/src/Alps.h File Reference

`#include <cfloat>`
`#include <cstdio>`
`#include "CoinFinite.hpp"`

Include dependency graph for Alps.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | ALPS_PS_STATS
## Defines
#define | ALPS_NODE_PROCESS_TIME 0.0123
#define | ALPS_NONE 0
#define | ALPS_NOT_SET -1
#define | ALPS_DBL_MAX COIN_DBL_MAX
#define | ALPS_INC_MAX 1.0e80
#define | ALPS_OBJ_MAX 1.0e75
#define | ALPS_OBJ_MAX_LESS 1.0e70
#define | ALPS_BND_MAX 1.0e20
#define | ALPS_INFINITY 1.0e20
#define | ALPS_INT_MAX COIN_INT_MAX
#define | ALPS_ZERO 1.0e-14
#define | ALPS_GEN_TOL 1.0e-6
#define | ALPS_QUALITY_TOL 1.0e-5
#define | ALPS_SMALL_3 1.0e-3
#define | ALPS_SMALL_4 1.0e-4
#define | ALPS_SMALL_5 1.0e-5
#define | ALPS_PRINTF printf
#define | ALPS_DMSG printf
#define | ALPS_MAX(x, y) ( ( (x) > (y) ) ? (x) : (y) )
#define | ALPS_MIN(x, y) ( ( (x) < (y) ) ? (x) : (y) )
#define | ALPS_FABS(x) ( (x < 0.0) ? -(x) : (x) )
#define | ALPS_ABS(x) ( (x < 0) ? -(x) : (x) )
## Typedefs
typedef int | KnowledgeType
| Type of knowledge like solution, node, cut.
typedef ALPS_PS_STATS | AlpsPsStats
## Enumerations
enum | AlpsClockType { AlpsClockTypeCpu, AlpsClockTypeWallClock }
| The possible values for clock type. More...
enum | AlpsStaticBalanceScheme { AlpsRootInit = 0, AlpsSpiral }
| The possible values for static load balancing scheme. More...
enum | AlpsNodeStatus { AlpsNodeStatusCandidate, AlpsNodeStatusEvaluated, AlpsNodeStatusPregnant, AlpsNodeStatusBranched, AlpsNodeStatusFathomed, AlpsNodeStatusDiscarded }
| The possible stati for the search nodes. More...
enum | AlpsSearchType { AlpsSearchTypeBestFirst = 0, AlpsSearchTypeBreadthFirst, AlpsSearchTypeDepthFirst, AlpsSearchTypeBestEstimate, AlpsSearchTypeHybrid }
| Search Strategies. More...
enum | AlpsKnowledgeType { AlpsKnowledgeTypeModel = 0, AlpsKnowledgeTypeModelGen, AlpsKnowledgeTypeNode, AlpsKnowledgeTypeSolution, AlpsKnowledgeTypeSubTree, AlpsKnowledgeTypeUndefined }
enum | AlpsExitStatus { AlpsExitStatusUnknown = -1, AlpsExitStatusOptimal, AlpsExitStatusTimeLimit, AlpsExitStatusNodeLimit, AlpsExitStatusSolLimit, AlpsExitStatusFeasible, AlpsExitStatusInfeasible, AlpsExitStatusNoMemory, AlpsExitStatusFailed, AlpsExitStatusUnbounded }
enum | AlpsReturnStatus { AlpsReturnStatusOk = 0, AlpsReturnStatusErr, AlpsReturnStatusErrNoInt, AlpsReturnStatusErrNoMem }
enum | AlpsPhase { AlpsPhaseRampup = 0, AlpsPhaseSearch, AlpasPhaseRampdown }

## Define Documentation

#define ALPS_NODE_PROCESS_TIME 0.0123

Definition at line 134 of file Alps.h.

#define ALPS_NONE 0

Definition at line 135 of file Alps.h.

#define ALPS_NOT_SET -1

Definition at line 136 of file Alps.h.

#define ALPS_DBL_MAX COIN_DBL_MAX

Definition at line 142 of file Alps.h.

Referenced by VrpModel::VrpModel().

#define ALPS_INC_MAX 1.0e80

Definition at line 143 of file Alps.h.

Referenced by AlpsKnowledgeBrokerSerial::getBestQuality().

#define ALPS_OBJ_MAX 1.0e75

Definition at line 144 of file Alps.h.

Referenced by AlpsKnowledgeBroker::getBestEstimateQuality(), AlpsNodePool::getBestKnowledgeValue(), AlpsNodePool::getBestNode(), AlpsSubTreePool::getBestQuality(), AlpsKnowledgeBrokerMPI::getBestQuality(), AlpsKnowledgeBrokerMPI::getIncumbentValue(), and AlpsSubTree::getSolEstimate().

#define ALPS_OBJ_MAX_LESS 1.0e70

Definition at line 145 of file Alps.h.

#define ALPS_BND_MAX 1.0e20

Definition at line 146 of file Alps.h.

#define ALPS_INFINITY 1.0e20

Definition at line 147 of file Alps.h.

#define ALPS_INT_MAX COIN_INT_MAX

Definition at line 149 of file Alps.h.

Referenced by VrpModel::VrpModel().

#define ALPS_ZERO 1.0e-14

Definition at line 155 of file Alps.h.

#define ALPS_GEN_TOL 1.0e-6

Definition at line 156 of file Alps.h.

#define ALPS_QUALITY_TOL 1.0e-5

Definition at line 157 of file Alps.h.

#define ALPS_SMALL_3 1.0e-3

Definition at line 158 of file Alps.h.

#define ALPS_SMALL_4 1.0e-4

Definition at line 159 of file Alps.h.

#define ALPS_SMALL_5 1.0e-5

Definition at line 160 of file Alps.h.

#define ALPS_PRINTF printf

Definition at line 164 of file Alps.h.

#define ALPS_DMSG printf

Definition at line 166 of file Alps.h.

#define ALPS_MAX | ( | x,
|  | y |  | ) | ( ( (x) > (y) ) ? (x) : (y) )

Definition at line 171 of file Alps.h.

#define ALPS_MIN | ( | x,
|  | y |  | ) | ( ( (x) < (y) ) ? (x) : (y) )

Definition at line 172 of file Alps.h.

#define ALPS_FABS | ( | x |  | ) | ( (x < 0.0) ? -(x) : (x) )

Definition at line 173 of file Alps.h.

Referenced by BlisSolution::print().

#define ALPS_ABS | ( | x |  | ) | ( (x < 0) ? -(x) : (x) )

Definition at line 174 of file Alps.h.

## Typedef Documentation

typedef int KnowledgeType

Type of knowledge like solution, node, cut.

..

Definition at line 85 of file Alps.h.

typedef struct ALPS_PS_STATS AlpsPsStats

## Enumeration Type Documentation

enum AlpsClockType

The possible values for clock type.

Enumerator:

  AlpsClockTypeCpu |
  AlpsClockTypeWallClock |

Definition at line 42 of file Alps.h.

enum AlpsStaticBalanceScheme

The possible values for static load balancing scheme.

Enumerator:

  AlpsRootInit |
  AlpsSpiral |

Definition at line 51 of file Alps.h.

enum AlpsNodeStatus

The possible stati for the search nodes.

Enumerator:

  AlpsNodeStatusCandidate |
  AlpsNodeStatusEvaluated |
  AlpsNodeStatusPregnant |
  AlpsNodeStatusBranched |
  AlpsNodeStatusFathomed |
  AlpsNodeStatusDiscarded |

Definition at line 60 of file Alps.h.

enum AlpsSearchType

Search Strategies.

Enumerator:

  AlpsSearchTypeBestFirst |
  AlpsSearchTypeBreadthFirst |
  AlpsSearchTypeDepthFirst |
  AlpsSearchTypeBestEstimate |
  AlpsSearchTypeHybrid |

Definition at line 73 of file Alps.h.

enum AlpsKnowledgeType

Enumerator:

  AlpsKnowledgeTypeModel |
  AlpsKnowledgeTypeModelGen |
  AlpsKnowledgeTypeNode |
  AlpsKnowledgeTypeSolution |
  AlpsKnowledgeTypeSubTree |
  AlpsKnowledgeTypeUndefined |

Definition at line 87 of file Alps.h.

enum AlpsExitStatus

Enumerator:

  AlpsExitStatusUnknown |
  AlpsExitStatusOptimal |
  AlpsExitStatusTimeLimit |
  AlpsExitStatusNodeLimit |
  AlpsExitStatusSolLimit |
  AlpsExitStatusFeasible |
  AlpsExitStatusInfeasible |
  AlpsExitStatusNoMemory |
  AlpsExitStatusFailed |
  AlpsExitStatusUnbounded |

Definition at line 100 of file Alps.h.

enum AlpsReturnStatus

Enumerator:

  AlpsReturnStatusOk |
  AlpsReturnStatusErr |
  AlpsReturnStatusErrNoInt |
  AlpsReturnStatusErrNoMem |

Definition at line 117 of file Alps.h.

enum AlpsPhase

Enumerator:

  AlpsPhaseRampup |
  AlpsPhaseSearch |
  AlpasPhaseRampdown |

Definition at line 128 of file Alps.h.