BB.cpp
Go to the documentation of this file.
1 // Copyright (C) 2003, International Business Machines
2 // Corporation and others. All Rights Reserved.
3 
4 #include "BB.hpp"
5 #include "CoinPackedMatrix.hpp"
6 
7 /****************************************************************************/
9  EPSILON(1e-8),
10  rownum(0), colnum(0),
11  integer(0), clb(0), cub(0), obj(0),
12  rlb_core(0), rub_core(0), rlb_indexed(0), rub_indexed(0),
13  core(0), indexed(0) {}
14 
15 /****************************************************************************/
17 {
18  delete[] integer;
19  delete[] clb;
20  delete[] cub;
21  delete[] obj;
22  delete[] rlb_core;
23  delete[] rub_core;
24  delete[] rlb_indexed;
25  delete[] rub_indexed;
26  delete core;
27  delete indexed;
28 }
double * clb
Lower bounds for structural variables.
Definition: BB.hpp:43
CoinPackedMatrix * core
Holds the coefficients of the core rows.
Definition: BB.hpp:67
~BB_prob()
Default destructor.
Definition: BB.cpp:16
double * obj
Objective coefficients.
Definition: BB.hpp:49
double * cub
Upper bounds for stuctural variables.
Definition: BB.hpp:46
double * rub_indexed
Upper bounds for indexed constraints.
Definition: BB.hpp:64
CoinPackedMatrix * indexed
Lower bounds for core constraints.
Definition: BB.hpp:70
BB_prob()
Default constructor.
Definition: BB.cpp:8
void fint fint fint real fint real real real real real real real real real * e
bool * integer
Integrality information for structural variables.
Definition: BB.hpp:40
#define EPSILON
double * rlb_indexed
Lower bounds for indexed constraints.
Definition: BB.hpp:61
double * rlb_core
Lower bounds for core constraints.
Definition: BB.hpp:55
double * rub_core
Upper bounds for core constraints.
Definition: BB.hpp:58