Procedure GMP::Row::DeleteMulti(GMP, binding, row)

GMP::Row::DeleteMulti

The procedure GMP::Row::DeleteMulti marks a group of rows in a generated mathematical program, belonging to a constraint, as deleted.

GMP::Row::DeleteMulti(
     GMP,            ! (input) a generated mathematical program
     binding,        ! (input) an index binding
     row             ! (input) a constraint expression
     )

Arguments

GMP

An element in AllGeneratedMathematicalPrograms.

binding

An index binding that specifies and possibly limits the scope of indices.

row

A constraint that, combined with the binding domain, specifies the rows.

Return Value

The procedure returns 1 on success, or 0 otherwise.

Note

  • Deleted rows remain present in the generated mathematical program but their content will not be copied to a solver session.

  • The rows will not be printed in the constraint listing, nor be visible in the Math Program Inspector and they will be removed from any solver maintained copies.