Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
tmp
OS-2.10.2
Couenne
src
main
BonCouenneInfo.cpp
Go to the documentation of this file.
1
/* $Id: BonCouenneInfo.cpp 488 2011-01-10 17:06:41Z pbelotti $ */
2
// (C) Copyright International Business Machines Corporation 2007
3
// All Rights Reserved.
4
// This code is published under the Eclipse Public License (EPL).
5
//
6
// Authors :
7
// Andreas Waechter, International Business Machines Corporation
8
//
9
// Date : 02/10/2008
10
11
#include "
BonCouenneInfo.hpp
"
12
13
using namespace
Couenne;
14
15
17
CouenneInfo::CouenneInfo
(
int
type):
18
BabInfo(type)
19
{}
20
22
CouenneInfo::CouenneInfo
(
const
OsiBabSolver &other):
23
BabInfo(other)
24
{}
25
27
CouenneInfo::CouenneInfo
(
const
CouenneInfo
&other):
28
BabInfo(other)
29
{}
30
32
CouenneInfo::~CouenneInfo
()
33
{}
34
36
OsiAuxInfo *
37
CouenneInfo::clone
()
const
38
{
39
return
new
CouenneInfo
(*
this
);
40
}
41
42
CouenneInfo::NlpSolution::NlpSolution
(
int
n
,
const
double
* sol,
double
objval)
43
:
44
n_(n),
45
objVal_(objval)
46
{
47
sol_
=
new
double
[
n
];
48
CoinCopyN(sol, n,
sol_
);
49
}
50
51
CouenneInfo::NlpSolution::~NlpSolution
()
52
{
53
delete
[] sol_;
54
}
Couenne::CouenneInfo::~CouenneInfo
virtual ~CouenneInfo()
Destructor.
Definition:
BonCouenneInfo.cpp:32
BonCouenneInfo.hpp
Couenne::CouenneInfo::NlpSolution::NlpSolution
NlpSolution()
Couenne::CouenneInfo
Bonmin class for passing info between components of branch-and-cuts.
Definition:
BonCouenneInfo.hpp:22
Couenne::CouenneInfo::NlpSolution::sol_
double * sol_
values of the stored solution
Definition:
BonCouenneInfo.hpp:60
Couenne::CouenneInfo::CouenneInfo
CouenneInfo(int type)
Default constructor.
Definition:
BonCouenneInfo.cpp:17
Couenne::CouenneInfo::clone
virtual OsiAuxInfo * clone() const
Virtual copy constructor.
Definition:
BonCouenneInfo.cpp:37
Couenne::CouenneInfo::NlpSolution::~NlpSolution
~NlpSolution()
Definition:
BonCouenneInfo.cpp:51
n
void fint * n
Definition:
BonFilterSolver.cpp:96
Generated by
1.8.5