Loading...
Searching...
No Matches
AbcPrimalColumnDantzig.hpp
Go to the documentation of this file.
/* $Id$ */
// Copyright (C) 2002, International Business Machines
// Corporation and others, Copyright (C) 2012, FasterCoin. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#ifndef AbcPrimalColumnDantzig_H
#define AbcPrimalColumnDantzig_H
#include "AbcPrimalColumnPivot.hpp"
//#############################################################################
class AbcPrimalColumnDantzig : public AbcPrimalColumnPivot {
public:
virtual int pivotColumn(CoinPartitionedVector *updates,
CoinPartitionedVector *spareRow2,
CoinPartitionedVector *spareColumn1);
virtual void saveWeights(AbcSimplex *model, int)
{
model_ = model;
}
AbcPrimalColumnDantzig();
AbcPrimalColumnDantzig(const AbcPrimalColumnDantzig &);
AbcPrimalColumnDantzig &operator=(const AbcPrimalColumnDantzig &rhs);
virtual ~AbcPrimalColumnDantzig();
virtual AbcPrimalColumnPivot *clone(bool copyData = true) const;
//---------------------------------------------------------------------------
private:
};
#endif
/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
*/
AbcPrimalColumnPivot.hpp
AbcSimplex
#define AbcSimplex
Definition AbcWarmStart.hpp:16
AbcPrimalColumnDantzig::AbcPrimalColumnDantzig
AbcPrimalColumnDantzig(const AbcPrimalColumnDantzig &)
Copy constructor.
AbcPrimalColumnDantzig::~AbcPrimalColumnDantzig
virtual ~AbcPrimalColumnDantzig()
Destructor.
AbcPrimalColumnDantzig::operator=
AbcPrimalColumnDantzig & operator=(const AbcPrimalColumnDantzig &rhs)
Assignment operator.
AbcPrimalColumnDantzig::AbcPrimalColumnDantzig
AbcPrimalColumnDantzig()
Default Constructor.
AbcPrimalColumnDantzig::saveWeights
virtual void saveWeights(AbcSimplex *model, int)
Just sets model.
Definition AbcPrimalColumnDantzig.hpp:37
AbcPrimalColumnDantzig::clone
virtual AbcPrimalColumnPivot * clone(bool copyData=true) const
Clone.
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
AbcPrimalColumnPivot::AbcPrimalColumnPivot
AbcPrimalColumnPivot()
Default Constructor.
AbcPrimalColumnPivot::model_
AbcSimplex * model_
Pointer to model.
Definition AbcPrimalColumnPivot.hpp:149