MCPcopy Create free account
hub / github.com/LiangliangNan/PolyFit / create_objective

Method create_objective

code/math/linear_program.cpp:333–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331
332
333LinearObjective* LinearProgram::create_objective(LinearObjective::Sense sense /* = LinearObjective::MINIMIZE*/) {
334 if (objective_)
335 delete objective_;
336
337 objective_ = new LinearObjective(this, sense);
338 return objective_;
339}
340
341
342const LinearObjective* LinearProgram::objective() const {

Callers 2

optimizeMethod · 0.80
re_orientMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected