rLSgetScenarioIndex {rLindo}R Documentation

Get index of a scenario by its name.

Description

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

Usage

  rLSgetScenarioIndex(model,pszName)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

pszName

The name of the scenario to return the index for.

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

pnIndex

Index of the scenario.

References

LINDO SYSTEMS home page at www.lindo.com


[Package rLindo version 8.0.1 Index]