XSLPgetdc
PurposeRetrieve information about a delayed constraint in an SLP problemSynopsisint XPRS_CC XSLPgetdc(XSLPprob Prob, int RowIndex, char *RowType, int *Delay, int *IterCount, int Parsed, int *Type, double *Value);Arguments
Prob The current SLP problem. RowIndex The index of the matrix row . This respects the setting of XPRS_CSTYLE. RowType Address of character buffer to receive the type of the row when it is constraining. May be NULL if not required. May be NULL if not required. Delay Address of an integer to receive the delay after the DC is initiated. May be NULL if not required. IterCount Address of an integer to receive the number of SLP iterations since the DC was initiated. May be NULL if not required. Parsed Integer indicating whether the formula is to be in internal unparsed (Parsed=0) or parsed reverse Polish (Parsed=1) format. Type Integer array to receive the token types. May be NULL if not required. Value Array of values corresponding to the types in Type. May be NULL if not required.ExampleThe following example gets the formula for the delayed constraint row 3:int Type[10]; double Value[10]; XSLPgetdc(Prob, 3, NULL, NULL, 0, Type, Value);The formula is returned as tokens in unparsed form.Further informationIf RowType is returned as zero, then the row is not currently a delayed constraint.
The formula is used to determine when the DC is initiated. An empty formula means that the DC is initiated after the first SLP iteration.
If any of the addresses is NULL then the corresponding information for the DC will not be provided.
The array of formula tokens will be terminated by an XSLP_EOF token.
Related topics
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.