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

GMP::Row::SetTypeMulti

The procedure GMP::Row::SetTypeMulti changes the type of a group of rows, belonging to a constraint, in the matrix of 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 binding.

Return Value

The procedure returns 1 on success, or 0 otherwise.