A ‘diff’ between two OsiDylpWarmStartBasis objects.
This class exists in order to hide from the world the details of calculating and representing a ‘diff’ between two OsiDylpWarmStartBasis objects. For convenience, assignment, cloning, and deletion are visible to the world, and default and copy constructors are visible to derived classes. Knowledge of the rest of this structure, and of generating and applying diffs, is restricted to the functions OsiDylpWarmStartBasis::generateDiff() and OsiDylpWarmStartBasis::applyDiff().
The actual data structure is a pair of unsigned int vectors, #diffNdxs_ and #diffVals_, and a CoinWarmStartBasisDiff object.
- Todo
- This is a pretty generic structure, and vector diff is a pretty generic activity. We should be able to convert this to a template.
- Todo
- Using unsigned int as the data type for the diff vectors might help to contain the damage when this code is inevitably compiled for 64 bit architectures. But the notion of int as 4 bytes is hardwired into CoinWarmStartBasis, so changes are definitely required.
Definition at line 266 of file OsiDylpWarmStartBasis.hpp.