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