Clp
1.17.11
Toggle main menu visibility
Loading...
Searching...
No Matches
Clp
src
ClpDualRowDantzig.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 ClpDualRowDantzig_H
7
#define ClpDualRowDantzig_H
8
9
#include "
ClpDualRowPivot.hpp
"
10
11
//#############################################################################
12
18
19
class
ClpDualRowDantzig
:
public
ClpDualRowPivot
{
20
21
public
:
23
24
26
virtual
int
pivotRow
();
27
30
virtual
double
updateWeights
(CoinIndexedVector *input,
31
CoinIndexedVector *spare,
32
CoinIndexedVector *spare2,
33
CoinIndexedVector *updatedColumn);
38
virtual
void
updatePrimalSolution
(CoinIndexedVector *input,
39
double
theta,
40
double
&changeInObjective);
42
44
45
46
ClpDualRowDantzig
();
47
49
ClpDualRowDantzig
(
const
ClpDualRowDantzig
&);
50
52
ClpDualRowDantzig
&
operator=
(
const
ClpDualRowDantzig
&rhs);
53
55
virtual
~ClpDualRowDantzig
();
56
58
virtual
ClpDualRowPivot
*
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
*/
ClpDualRowPivot.hpp
ClpDualRowDantzig::clone
virtual ClpDualRowPivot * clone(bool copyData=true) const
Clone.
ClpDualRowDantzig::updateWeights
virtual double updateWeights(CoinIndexedVector *input, CoinIndexedVector *spare, CoinIndexedVector *spare2, CoinIndexedVector *updatedColumn)
Updates weights and returns pivot alpha.
ClpDualRowDantzig::~ClpDualRowDantzig
virtual ~ClpDualRowDantzig()
Destructor.
ClpDualRowDantzig::operator=
ClpDualRowDantzig & operator=(const ClpDualRowDantzig &rhs)
Assignment operator.
ClpDualRowDantzig::updatePrimalSolution
virtual void updatePrimalSolution(CoinIndexedVector *input, double theta, double &changeInObjective)
Updates primal solution (and maybe list of candidates) Uses input vector which it deletes Computes ch...
ClpDualRowDantzig::ClpDualRowDantzig
ClpDualRowDantzig()
Default Constructor.
ClpDualRowDantzig::pivotRow
virtual int pivotRow()
Returns pivot row, -1 if none.
ClpDualRowDantzig::ClpDualRowDantzig
ClpDualRowDantzig(const ClpDualRowDantzig &)
Copy constructor.
ClpDualRowPivot::ClpDualRowPivot
ClpDualRowPivot()
Default Constructor.
Generated by
1.17.0