MCPcopy Create free account
hub / github.com/dartsim/dart / removeIneqConstraint

Method removeIneqConstraint

dart/optimizer/Problem.cpp:267–273  ·  view source on GitHub ↗

==============================================================================

Source from the content-addressed store, hash-verified

265
266//==============================================================================
267void Problem::removeIneqConstraint(FunctionPtr _ineqConst)
268{
269 // TODO(JS): Need to delete?
270 mIneqConstraints.erase(
271 std::remove(mIneqConstraints.begin(), mIneqConstraints.end(), _ineqConst),
272 mIneqConstraints.end());
273}
274
275//==============================================================================
276void Problem::removeAllEqConstraints()

Callers 1

ProblemFunction · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected