Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SoPlex 6.0.3
SoPlex 5.0.2
SoPlex 4.0.2
SoPlex 3.1.0
SoPlex 3.0.1
SoPlex 2.2.1
SoPlex
Sequential object-oriented simPlex
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
soplex-repo
src
spxsteepexpr.h
Go to the documentation of this file.
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2
/* */
3
/* This file is part of the class library */
4
/* SoPlex --- the Sequential object-oriented simPlex. */
5
/* */
6
/* Copyright (C) 1996-2015 Konrad-Zuse-Zentrum */
7
/* fuer Informationstechnik Berlin */
8
/* */
9
/* SoPlex is distributed under the terms of the ZIB Academic Licence. */
10
/* */
11
/* You should have received a copy of the ZIB Academic License */
12
/* along with SoPlex; see the file COPYING. If not email to soplex@zib.de. */
13
/* */
14
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15
16
17
/**@file spxsteepexpr.h
18
* @brief Steepest edge pricer with exact initialization of weights.
19
*/
20
#ifndef _SPXSTEEPEXPR_H_
21
#define _SPXSTEEPEXPR_H_
22
23
24
#include <assert.h>
25
26
#include "
spxdefines.h
"
27
#include "
spxsteeppr.h
"
28
29
namespace
soplex
30
{
31
32
/**@brief Steepest edge pricer.
33
@ingroup Algo
34
35
Class SPxSteepExPR implements a steepest edge pricer to be used with
36
SoPlex. Exact initialization of weights is used.
37
38
See SPxPricer for a class documentation.
39
*/
40
class
SPxSteepExPR
:
public
SPxSteepPR
41
{
42
43
public
:
44
45
//-------------------------------------
46
/**@name Construction / destruction */
47
//@{
48
///
49
SPxSteepExPR
()
50
:
SPxSteepPR
(
"SteepEx"
,
EXACT
)
51
{
52
assert(
isConsistent
());
53
}
54
/// copy constructor
55
SPxSteepExPR
(
const
SPxSteepExPR
& old)
56
:
SPxSteepPR
(old)
57
{
58
assert(
isConsistent
());
59
}
60
/// assignment operator
61
SPxSteepExPR
&
operator=
(
const
SPxSteepExPR
& rhs)
62
{
63
if
(
this
!= &rhs)
64
{
65
SPxSteepPR::operator=
(rhs);
66
67
assert(
isConsistent
());
68
}
69
70
return
*
this
;
71
}
72
/// destructor
73
virtual
~SPxSteepExPR
()
74
{}
75
/// clone function for polymorphism
76
inline
virtual
SPxSteepPR
*
clone
()
const
77
{
78
return
new
SPxSteepExPR
(*
this
);
79
}
80
//@}
81
};
82
83
}
// namespace soplex
84
#endif // _SPXSTEEPPR_H_