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

Method getColumnType

src/openms/source/DATASTRUCTURES/LPWrapper.cpp:363–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361 }
362
363 LPWrapper::VariableType LPWrapper::getColumnType(Int index)
364 {
365#if COINOR_SOLVER == 1
366 if (model_->isInteger(index))
367 {
368 return INTEGER;
369 }
370 else
371 return CONTINUOUS;
372#else
373 return (VariableType)glp_get_col_kind(lp_problem_, index + 1);
374#endif
375 }
376
377 void LPWrapper::setObjective(Int index, double obj_value)
378 {

Callers 1

LPWrapper_test.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected