Clp
1.17.8
Clp
src
ClpPrimalColumnDantzig.hpp
Go to the documentation of this file.
1
/* $Id$ */
2
// Copyright (C) 2002, 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 ClpPrimalColumnDantzig_H
7
#define ClpPrimalColumnDantzig_H
8
9
#include "
ClpPrimalColumnPivot.hpp
"
10
11
//#############################################################################
12
19
class
ClpPrimalColumnDantzig
:
public
ClpPrimalColumnPivot
{
20
21
public
:
23
24
32
virtual
int
pivotColumn
(CoinIndexedVector *updates,
33
CoinIndexedVector *spareRow1,
34
CoinIndexedVector *spareRow2,
35
CoinIndexedVector *spareColumn1,
36
CoinIndexedVector *spareColumn2);
37
39
virtual
void
saveWeights
(
ClpSimplex
*
model
,
int
)
40
{
41
model_
=
model
;
42
}
44
46
47
ClpPrimalColumnDantzig
();
49
51
ClpPrimalColumnDantzig
(
const
ClpPrimalColumnDantzig
&);
52
54
ClpPrimalColumnDantzig
&
operator=
(
const
ClpPrimalColumnDantzig
&rhs);
55
57
virtual
~ClpPrimalColumnDantzig
();
58
60
virtual
ClpPrimalColumnPivot
*
clone
(
bool
copyData =
true
)
const
;
61
63
64
//---------------------------------------------------------------------------
65
66
private
:
68
69
};
70
71
#endif
72
73
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
74
*/
ClpSimplex
This solves LPs using the simplex method.
Definition:
ClpSimplex.hpp:106
ClpPrimalColumnDantzig::ClpPrimalColumnDantzig
ClpPrimalColumnDantzig()
Default Constructor.
ClpPrimalColumnDantzig::~ClpPrimalColumnDantzig
virtual ~ClpPrimalColumnDantzig()
Destructor.
ClpPrimalColumnPivot.hpp
ClpPrimalColumnDantzig::pivotColumn
virtual int pivotColumn(CoinIndexedVector *updates, CoinIndexedVector *spareRow1, CoinIndexedVector *spareRow2, CoinIndexedVector *spareColumn1, CoinIndexedVector *spareColumn2)
Returns pivot column, -1 if none.
ClpPrimalColumnDantzig
Primal Column Pivot Dantzig Algorithm Class.
Definition:
ClpPrimalColumnDantzig.hpp:19
ClpPrimalColumnDantzig::clone
virtual ClpPrimalColumnPivot * clone(bool copyData=true) const
Clone.
ClpPrimalColumnPivot
Primal Column Pivot Abstract Base Class.
Definition:
ClpPrimalColumnPivot.hpp:25
ClpPrimalColumnPivot::model
ClpSimplex * model()
Returns model.
Definition:
ClpPrimalColumnPivot.hpp:117
ClpPrimalColumnDantzig::operator=
ClpPrimalColumnDantzig & operator=(const ClpPrimalColumnDantzig &rhs)
Assignment operator.
ClpPrimalColumnPivot::model_
ClpSimplex * model_
Pointer to model.
Definition:
ClpPrimalColumnPivot.hpp:150
ClpPrimalColumnDantzig::saveWeights
virtual void saveWeights(ClpSimplex *model, int)
Just sets model.
Definition:
ClpPrimalColumnDantzig.hpp:39
Generated by
1.8.17