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

Method addColumn

src/openms/source/DATASTRUCTURES/LPWrapper.cpp:102–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 }
101
102 Int LPWrapper::addColumn()
103 {
104#if COINOR_SOLVER == 1
105 model_->addColumn(0, nullptr, nullptr, 0, 0); // new columns are initially fixed at zero, like in glpk
106 return model_->numberColumns() - 1;
107#else
108 return glp_add_cols(lp_problem_, 1) - 1;
109#endif
110 }
111
112 Int LPWrapper::addColumn(const std::vector<Int>& column_indices, const std::vector<double>& column_values, const String& name)
113 {

Callers 5

addVariable_Method · 0.80
computeSlice_Method · 0.80
computeSliceOld_Method · 0.80
LPWrapper_test.cppFile · 0.80

Calls 5

setColumnBoundsMethod · 0.80
emptyMethod · 0.45
sizeMethod · 0.45
insertMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected