Cbc
2.10.10
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
d
l
p
r
s
Functions
a
d
l
p
r
s
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
Related Functions
Files
File List
File Members
All
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
Functions
a
c
d
e
f
g
o
r
s
w
Variables
Enumerations
Enumerator
c
d
f
g
l
n
o
s
Macros
c
h
i
m
n
o
p
s
t
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Cbc
examples
ClpQuadInterface.hpp
Go to the documentation of this file.
1
// $Id$
2
// Copyright (C) 2004, International Business Machines
3
// Corporation and others. All Rights Reserved.
4
// This code is licensed under the terms of the Eclipse Public License (EPL).
5
6
#ifndef ClpQuadInterface_H
7
#define ClpQuadInterface_H
8
9
#include "OsiClpSolverInterface.hpp"
10
11
//#############################################################################
12
18
class
ClpQuadInterface
:
public
OsiClpSolverInterface {
19
20
public
:
21
//---------------------------------------------------------------------------
24
virtual
void
initialSolve
();
26
28
virtual
void
resolve
();
29
31
34
ClpQuadInterface
();
36
38
virtual
OsiSolverInterface *
clone
(
bool
CopyData =
true
)
const
;
39
41
ClpQuadInterface
(
const
ClpQuadInterface
&);
42
44
ClpQuadInterface
&
operator=
(
const
ClpQuadInterface
&rhs);
45
47
virtual
~ClpQuadInterface
();
48
50
55
void
initialize
();
57
virtual
double
getObjValue
()
const
;
58
60
61
//---------------------------------------------------------------------------
62
63
private
:
66
ClpObjective *
quadraticObjective_
;
69
};
70
71
#endif
ClpQuadInterface::resolve
virtual void resolve()
Resolve an LP relaxation after problem modification.
ClpQuadInterface::clone
virtual OsiSolverInterface * clone(bool CopyData=true) const
Clone.
ClpQuadInterface::operator=
ClpQuadInterface & operator=(const ClpQuadInterface &rhs)
Assignment operator.
ClpQuadInterface::getObjValue
virtual double getObjValue() const
Get objective function value (can't use default)
ClpQuadInterface::ClpQuadInterface
ClpQuadInterface()
Default Constructor.
ClpQuadInterface::quadraticObjective_
ClpObjective * quadraticObjective_
True quadratic objective.
Definition:
ClpQuadInterface.hpp:67
ClpQuadInterface::initialize
void initialize()
Setup fake objective.
ClpQuadInterface::~ClpQuadInterface
virtual ~ClpQuadInterface()
Destructor.
ClpQuadInterface
This is to allow the user to replace initialSolve and resolve.
Definition:
ClpQuadInterface.hpp:18
ClpQuadInterface::initialSolve
virtual void initialSolve()
Solve initial LP relaxation.
Generated by
1.8.17