Procedure GMP::Row::SetTypeMulti(GMP, binding, row, type)

GMP::Row::SetTypeMulti

The procedure GMP::Row::SetTypeMulti changes the types of a group of rows, belonging to a constraint, in a generated mathematical program.

GMP::Row::SetTypeMulti(
     GMP,            ! (input) a generated mathematical program
     binding,        ! (input) an index binding
     row,            ! (input) a constraint expression
     type            ! (input) an element parameter in AllRowTypes
     )

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.

type

An element parameter in AllRowTypes, defined over the binding domain.

Return Value

The procedure returns 1 on success, or 0 otherwise.