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

Function maxNameLength

highs/lp_data/HighsModelUtils.cpp:378–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378HighsInt maxNameLength(const HighsLp& lp) {
379 return std::max(maxNameLength(lp.col_names_), maxNameLength(lp.row_names_));
380}
381
382HighsInt maxNameLength(const std::vector<std::string>& names) {
383 HighsInt num_name = names.size();

Callers 3

writeModelAsMpsFunction · 0.85
writeMpsFunction · 0.85
normaliseNamesFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected