Learn R Programming

rLindo (version 8.0.1)

rLSgetMIPPrimalSolution: Get the current primal solution for a MIP model.

Description

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

Usage

rLSgetMIPPrimalSolution(model)

Arguments

model
A LINDO API model object, returned by rLScreateModel.

Value

An R list object with components:
ErrorCode
Zero if successful, nonzero otherwise.
padPrimal
A double array containing the primal solution to the integer model.

References

LINDO SYSTEMS home page at www.lindo.com