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

Method removeEqConstraint

dart/optimizer/Problem.cpp:258–264  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

256
257//==============================================================================
258void Problem::removeEqConstraint(FunctionPtr _eqConst)
259{
260 // TODO(JS): Need to delete?
261 mEqConstraints.erase(
262 std::remove(mEqConstraints.begin(), mEqConstraints.end(), _eqConst),
263 mEqConstraints.end());
264}
265
266//==============================================================================
267void Problem::removeIneqConstraint(FunctionPtr _ineqConst)

Callers 1

ProblemFunction · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected