Loading...
Searching...
No Matches
ClpPrimalColumnDantzig.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 ClpPrimalColumnDantzig_H
#define ClpPrimalColumnDantzig_H
#include "ClpPrimalColumnPivot.hpp"
//#############################################################################
class ClpPrimalColumnDantzig : public ClpPrimalColumnPivot {
public:
virtual int pivotColumn(CoinIndexedVector *updates,
CoinIndexedVector *spareRow1,
CoinIndexedVector *spareRow2,
CoinIndexedVector *spareColumn1,
CoinIndexedVector *spareColumn2);
virtual void saveWeights(ClpSimplex *model, int)
{
model_ = model;
}
ClpPrimalColumnDantzig();
ClpPrimalColumnDantzig(const ClpPrimalColumnDantzig &);
ClpPrimalColumnDantzig &operator=(const ClpPrimalColumnDantzig &rhs);
virtual ~ClpPrimalColumnDantzig();
virtual ClpPrimalColumnPivot *clone(bool copyData = true) const;
//---------------------------------------------------------------------------
private:
};
#endif
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
*/
ClpPrimalColumnPivot.hpp
ClpPrimalColumnDantzig::saveWeights
virtual void saveWeights(ClpSimplex *model, int)
Just sets model.
Definition ClpPrimalColumnDantzig.hpp:39
ClpPrimalColumnDantzig::operator=
ClpPrimalColumnDantzig & operator=(const ClpPrimalColumnDantzig &rhs)
Assignment operator.
ClpPrimalColumnDantzig::clone
virtual ClpPrimalColumnPivot * clone(bool copyData=true) const
Clone.
ClpPrimalColumnDantzig::~ClpPrimalColumnDantzig
virtual ~ClpPrimalColumnDantzig()
Destructor.
ClpPrimalColumnDantzig::ClpPrimalColumnDantzig
ClpPrimalColumnDantzig(const ClpPrimalColumnDantzig &)
Copy constructor.
ClpPrimalColumnDantzig::ClpPrimalColumnDantzig
ClpPrimalColumnDantzig()
Default Constructor.
ClpPrimalColumnDantzig::pivotColumn
virtual int pivotColumn(CoinIndexedVector *updates, CoinIndexedVector *spareRow1, CoinIndexedVector *spareRow2, CoinIndexedVector *spareColumn1, CoinIndexedVector *spareColumn2)
Returns pivot column, -1 if none.
ClpPrimalColumnPivot::model
ClpSimplex * model()
Returns model.
Definition ClpPrimalColumnPivot.hpp:117
ClpPrimalColumnPivot::ClpPrimalColumnPivot
ClpPrimalColumnPivot()
Default Constructor.
ClpPrimalColumnPivot::model_
ClpSimplex * model_
Pointer to model.
Definition ClpPrimalColumnPivot.hpp:150
ClpSimplex
This solves LPs using the simplex method.
Definition ClpSimplex.hpp:106