Clp
1.17.8
Clp
src
AbcPrimalColumnDantzig.hpp
Go to the documentation of this file.
1
/* $Id$ */
2
// Copyright (C) 2002, International Business Machines
3
// Corporation and others, Copyright (C) 2012, FasterCoin. All Rights Reserved.
4
// This code is licensed under the terms of the Eclipse Public License (EPL).
5
6
#ifndef AbcPrimalColumnDantzig_H
7
#define AbcPrimalColumnDantzig_H
8
9
#include "
AbcPrimalColumnPivot.hpp
"
10
11
//#############################################################################
12
19
class
AbcPrimalColumnDantzig
:
public
AbcPrimalColumnPivot
{
20
21
public
:
23
24
32
virtual
int
pivotColumn
(CoinPartitionedVector *updates,
33
CoinPartitionedVector *spareRow2,
34
CoinPartitionedVector *spareColumn1);
35
37
virtual
void
saveWeights
(
AbcSimplex
*
model
,
int
)
38
{
39
model_
=
model
;
40
}
42
44
45
AbcPrimalColumnDantzig
();
47
49
AbcPrimalColumnDantzig
(
const
AbcPrimalColumnDantzig
&);
50
52
AbcPrimalColumnDantzig
&
operator=
(
const
AbcPrimalColumnDantzig
&rhs);
53
55
virtual
~AbcPrimalColumnDantzig
();
56
58
virtual
AbcPrimalColumnPivot
*
clone
(
bool
copyData =
true
)
const
;
59
61
62
//---------------------------------------------------------------------------
63
64
private
:
66
67
};
68
69
#endif
70
71
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
72
*/
AbcPrimalColumnDantzig::saveWeights
virtual void saveWeights(AbcSimplex *model, int)
Just sets model.
Definition:
AbcPrimalColumnDantzig.hpp:37
AbcPrimalColumnDantzig::AbcPrimalColumnDantzig
AbcPrimalColumnDantzig()
Default Constructor.
AbcPrimalColumnPivot.hpp
AbcPrimalColumnDantzig::operator=
AbcPrimalColumnDantzig & operator=(const AbcPrimalColumnDantzig &rhs)
Assignment operator.
AbcPrimalColumnDantzig::pivotColumn
virtual int pivotColumn(CoinPartitionedVector *updates, CoinPartitionedVector *spareRow2, CoinPartitionedVector *spareColumn1)
Returns pivot column, -1 if none.
AbcPrimalColumnPivot::model
AbcSimplex * model()
Returns model.
Definition:
AbcPrimalColumnPivot.hpp:116
AbcSimplex
Definition:
AbcSimplex.hpp:62
AbcPrimalColumnDantzig
Primal Column Pivot Dantzig Algorithm Class.
Definition:
AbcPrimalColumnDantzig.hpp:19
AbcPrimalColumnDantzig::clone
virtual AbcPrimalColumnPivot * clone(bool copyData=true) const
Clone.
AbcPrimalColumnDantzig::~AbcPrimalColumnDantzig
virtual ~AbcPrimalColumnDantzig()
Destructor.
AbcPrimalColumnPivot::model_
AbcSimplex * model_
Pointer to model.
Definition:
AbcPrimalColumnPivot.hpp:149
AbcPrimalColumnPivot
Primal Column Pivot Abstract Base Class.
Definition:
AbcPrimalColumnPivot.hpp:26
Generated by
1.8.17