Clp 1.17.5
Loading...
Searching...
No Matches
ClpDualRowDantzig.hpp
Go to the documentation of this file.
1/* $Id: ClpDualRowDantzig.hpp 2385 2019-01-06 19:43:06Z unxusr $ */
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
20
21public:
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
47
50
53
56
58 virtual ClpDualRowPivot *clone(bool copyData = true) const;
59
61
62 //---------------------------------------------------------------------------
63
64private:
66
67};
68
69#endif
70
71/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
72*/
Dual Row Pivot Dantzig Algorithm Class.
virtual ClpDualRowPivot * clone(bool copyData=true) const
Clone.
virtual double updateWeights(CoinIndexedVector *input, CoinIndexedVector *spare, CoinIndexedVector *spare2, CoinIndexedVector *updatedColumn)
Updates weights and returns pivot alpha.
virtual ~ClpDualRowDantzig()
Destructor.
ClpDualRowDantzig & operator=(const ClpDualRowDantzig &rhs)
Assignment operator.
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()
Default Constructor.
virtual int pivotRow()
Returns pivot row, -1 if none.
ClpDualRowDantzig(const ClpDualRowDantzig &)
Copy constructor.
Dual Row Pivot Abstract Base Class.