rLSgetSlacks {rLindo}R Documentation

Return the value of the slack variable for each constraint of a given model.

Description

R interface function for LINDO API function LSgetSlacks. For more information, please refer to LINDO API User Manual.

Usage

  rLSgetSlacks(model)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

padSlack

A double array containing the values of the slack variables.

References

LINDO SYSTEMS home page at www.lindo.com

See Also

rLSgetDualSolution


[Package rLindo version 8.0.1 Index]