Procedure GMP::Column::DeleteMulti(GMP, binding, column)

GMP::Column::DeleteMulti

The procedure GMP::Column::DeleteMulti marks a group of columns, belonging to a variable, in a generated mathematical program as deleted.

GMP::Column::DeleteMulti(
     GMP,            ! (input) a generated mathematical program
     binding,        ! (input) an index binding
     column          ! (input) a variable expression
     )

Arguments

GMP

An element in AllGeneratedMathematicalPrograms.

binding

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

column

A variable that, combined with the binding domain, specifies the columns.

Return Value

The procedure returns 1 on success, or 0 otherwise.

Note

  • The columns 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.

  • Use GMP::Column::AddMulti to undo this action.