MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / getColumnIndex

Method getColumnIndex

src/openms/source/DATASTRUCTURES/LPWrapper.cpp:444–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442 }
443
444 Int LPWrapper::getColumnIndex(const String& name)
445 {
446#if COINOR_SOLVER == 1
447 return model_->column(name.c_str());
448#else
449 glp_create_index(lp_problem_);
450 return glp_find_col(lp_problem_, name.c_str()) - 1;
451#endif
452 }
453
454 LPWrapper::SOLVER LPWrapper::getSolver() const
455 {

Callers 3

optimizeMethod · 0.80
LPWrapper_test.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected