Go to the documentation of this file.
11 #include "CoinWarmStartBasis.hpp"
16 #define AbcSimplex ClpSimplex
84 virtual void setSize(
int ns,
int na);
94 virtual void resize(
int newNumberRows,
int newNumberColumns);
125 virtual void deleteRows(
int rawTgtCnt,
const int *rawTgts);
180 virtual CoinWarmStart *
clone()
const
virtual void setSize(int ns, int na)
Set basis capacity; existing basis is discarded.
AbcWarmStart * nextBasis_
Pointer to next basis.
AbcSimplex * model_
Pointer back to AbcSimplex (can only be applied to that)
AbcWarmStartOrganizer(AbcSimplex *model=NULL)
Default constructor.
virtual void deleteColumns(int number, const int *which)
Delete a set of columns from the basis.
int lengthExtraInformation_
Length of extra information in bytes.
void deleteBasis(AbcWarmStart *basis)
delete basis
void createBasis0(const AbcSimplex *model)
Create Basis type 0.
virtual ~AbcWarmStartOrganizer()
Destructor.
void setModel(AbcSimplex *model)
Set model.
int typeExtraInformation_
Type of basis (always status arrays) 0 - as CoinWarmStartBasis 1,2 - plus factor order as shorts or i...
virtual ~AbcWarmStart()
Destructor.
int stamp_
Sequence stamp for deletion.
AbcWarmStart()
Default constructor.
void createBasis0()
Create Basis type 0.
virtual void assignBasisStatus(int ns, int na, char *&sStat, char *&aStat)
Assign the status vectors to be the warm start information.
virtual AbcWarmStartOrganizer & operator=(const AbcWarmStartOrganizer &rhs)
Assignment.
virtual void deleteRows(int rawTgtCnt, const int *rawTgts)
Delete a set of rows from the basis.
AbcSimplex * model() const
Get model.
char * extraInformation_
The extra information.
void createBasis12()
Create Basis type 1,2.
void createBasis34(const AbcSimplex *model)
Create Basis type 34.
AbcWarmStart * previousBasis_
Pointer to previous basis.
void createBasis12(const AbcSimplex *model)
Create Basis type 12.
int numberBases_
Number of bases.
AbcWarmStart * firstBasis_
Pointer to first basis.
int numberValidRows_
Number of valid rows (rest should have slacks) Check to see if weights are OK for these rows and then...
AbcWarmStartOrganizer * organizer_
Pointer back to AbcWarmStartOrganizer for organization.
virtual CoinWarmStart * clone() const
‘Virtual constructor’
void createBasis34()
Create Basis type 3,4.
AbcSimplex * model_
Pointer to AbcSimplex (can only be applied to that)
virtual AbcWarmStart & operator=(const AbcWarmStart &rhs)
Assignment.
int sizeBases_
Size of bases (extra)
virtual void compressRows(int tgtCnt, const int *tgts)
Delete a set of rows from the basis.
virtual void resize(int newNumberRows, int newNumberColumns)
Set basis capacity; existing basis is maintained.
AbcWarmStart * lastBasis_
Pointer to last basis.