Loading...
Searching...
No Matches
ClpDualRowDantzig.hpp
Go to the documentation of this file.
/* $Id$ */
// Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#ifndef ClpDualRowDantzig_H
#define ClpDualRowDantzig_H
#include "ClpDualRowPivot.hpp"
//#############################################################################
class ClpDualRowDantzig : public ClpDualRowPivot {
public:
virtual int pivotRow();
virtual double updateWeights(CoinIndexedVector *input,
CoinIndexedVector *spare,
CoinIndexedVector *spare2,
CoinIndexedVector *updatedColumn);
virtual void updatePrimalSolution(CoinIndexedVector *input,
double theta,
double &changeInObjective);
ClpDualRowDantzig();
ClpDualRowDantzig(const ClpDualRowDantzig &);
ClpDualRowDantzig &operator=(const ClpDualRowDantzig &rhs);
virtual ~ClpDualRowDantzig();
virtual ClpDualRowPivot *clone(bool copyData = true) const;
//---------------------------------------------------------------------------
private:
};
#endif
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
*/
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.