MixedComplementarityProblem (functions)


siconos.numerics.freeMCP(MixedComplementarityProblem2 *mcp) → None[source]

free an MCP problem

Parameters:mcp – structure to free

siconos.numerics.freeMixedComplementarityProblem(MixedComplementarityProblem *problem) → None[source]

function to delete a MixedComplementarityProblem

Parameters:problem – pointer to a MixedComplementarityProblem to delete

siconos.numerics.newMCP(None) → MixedComplementarityProblem2 *[source]

create an empty MCP problem

Returns:an MixedComplementarityProblem instance