Closed ukrishnas closed 3 months ago
The new update will fix this. The new implementation uses CoinBuild for rows and columns. Variables (columns) are added to a column build object. Constraints (rows) are added into a build object.
The other implementations I tried without success were:
This is fixed.
Load time of the model into CLP is of the same order a solving the model in CLP. Loading the model in CLP is 3 times slower than in GLOP for the model shown below. Comments state that code uses CoinModel to build the model and CoinBuild is 5x faster. Also, each call to set a coefficient involves a hash lookup in CoinHash. These should be optimized.
ClpInterface::SetCoefficient
Usage in LPSharp: