MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / addCol

Method addCol

highs/lp_data/Highs.cpp:2846–2853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2844}
2845
2846HighsStatus Highs::addCol(const double cost, const double lower_bound,
2847 const double upper_bound, const HighsInt num_new_nz,
2848 const HighsInt* indices, const double* values) {
2849 this->logHeader();
2850 HighsInt starts = 0;
2851 return addCols(1, &cost, &lower_bound, &upper_bound, num_new_nz, &starts,
2852 indices, values);
2853}
2854
2855HighsStatus Highs::addCols(const HighsInt num_new_col, const double* costs,
2856 const double* lower_bounds,

Callers 2

highs_addColFunction · 0.45
addVariableMethod · 0.45

Calls 1

logHeaderMethod · 0.95

Tested by

no test coverage detected