MixedLinearComplementarityProblem (functions)


siconos.numerics.freeMixedLinearComplementarityProblem(MixedLinearComplementarityProblem *problem) → None[source]

function to delete a MixedLinearComplementarityProblem

Parameters:problem – pointer to a MixedLinearComplementarityProblem to delete

siconos.numerics.mixedLinearComplementarity_display(MixedLinearComplementarityProblem *p) → None[source]

siconos.numerics.mixedLinearComplementarity_newFromFile(MixedLinearComplementarityProblem *problem, FILE *file) → int[source]

function to read and create a MixedLinearComplementarityProblem from a file

Parameters:
  • problem – pointer to a MixedLinearComplementarityProblem to create
  • file – pointer to a FILE
Returns:

0 if ok


siconos.numerics.mixedLinearComplementarity_newFromFileOld(MixedLinearComplementarityProblem *problem, FILE *file) → int[source]

function to read and create a MixedLinearComplementarityProblem from a file

Parameters:
  • problem – pointer to a MixedLinearComplementarityProblem to create
  • file – pointer to a FILE
Returns:

0 if ok


siconos.numerics.mixedLinearComplementarity_newFromFilename(MixedLinearComplementarityProblem *problem, char *filename) → int[source]

siconos.numerics.mixedLinearComplementarity_printInFile(MixedLinearComplementarityProblem *problem, FILE *file) → int[source]

function to write in a file a MixedLinearComplementarityProblem

Parameters:
  • problem – pointer to a MixedLinearComplementarityProblem to print
  • file – pointer to a FILE
Returns:

0 if ok


siconos.numerics.newMLCP(None) → MixedLinearComplementarityProblem *[source]

create empty MLCP

Returns:empy MLCP