Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

clpAPI (version 1.3.1)

getObjDirCLP: Retrieve Optimization Direction Flag

Description

Low level interface function to the COIN-OR Clp function Clp_optimizationDirection. Consult the COIN-OR Clp documentation for more detailed information.

Usage

getObjDirCLP(lp)

Arguments

lp

An object of class "'>clpPtr" as returned by initProbCLP. This is basically a pointer to a COIN-OR Clp problem object.

Value

Returns the optimization direction flag: 1: minimize, -1: maximize, 0: ignore.

Details

Interface to the C function getObjDir which calls the COIN-OR Clp function Clp_optimizationDirection.

References

The COIN-OR Clp home page at https://projects.coin-or.org/Clp