17 #ifndef AGX_BOXEDMURTYALGORITHM_H
18 #define AGX_BOXEDMURTYALGORITHM_H
virtual NlMixedCp::McpAlgorithm::SolveReport solve(agx::NlMixedCp::McpAlgorithm::Args &args) override
Solve given current state of the index set, matrix, q, bounds etc.
Real calculateResidual(const RealValarray &z, const RealValarray &w, const SparseRangeReal &bounds, const IndexSet &indexSet) const
BoxedMurtyAlgorithm(Real globalTolerance, UInt maxNumIterations, bool gatherStatistics)
virtual ~BoxedMurtyAlgorithm()
Interface class for algorithm to solve general mixed complementarity problem.
Essentially a sparse array of bounds.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
agx::ref_ptr< BoxedMurtyAlgorithm > BoxedMurtyAlgorithmRef
std::valarray< agx::Real > RealValarray
For this module, vectors are defined using valarray.
Structure for all the arguments passed around.