rLSgetRoundMIPsolution: Round the given MIP solution to nearest int solution.

Description Usage Arguments Value References

View source: R/rLindo.R

Description

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

Usage

1
  rLSgetRoundMIPsolution(model,padPrimal = NULL,iUseOpti)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

padPrimal

The primal solution. If it is NULL, the solution in model will be rounded.

iUseOpti

Whether to use reoptimization after integers have been rounded and fixed to there optimal value.

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

padPrimalRound

The rounded solution.

pdObjRound

Objective value of the rounded solution.

pdPfeasRound

Infeasibility of the rounded solution.

pnstatus

Status of solution if reoptimization have been used.

References

LINDO SYSTEMS home page at www.lindo.com


rLindo documentation built on May 1, 2019, 10:11 p.m.