AMPL_SET#

group AMPL_SET

Functions for sets:

Functions

AMPL_ERRORINFO *AMPL_SetGetArity(AMPL *ampl, const char *entityname, size_t *arity)#

The arity of this set, or number of components in each member of this set.

Parameters:
  • ampl – Pointer to the AMPL struct.

  • entityname – Name of set as string.

  • arity – Pointer to the arity of the set.

Returns:

Pointer to the AMPL_ERRORINFO struct.