Get value of the objective function after optimization.
# S4 method for optObj_clpAPI
getObjVal(lp)# S4 method for optObj_cplexAPI
getObjVal(lp)
# S4 method for optObj_glpkAPI
getObjVal(lp)
# S4 method for optObj_lpSolveAPI
getObjVal(lp)
Returns a single numeric value.
signature(lp = "optObj_clpAPI")
method to use with package optObj_clpAPI.
signature(lp = "optObj_cplexAPI")
method to use with package optObj_cplexAPI. For problems of type
"mip"
: if no solution exists, the cplexAPI function
getBestObjValCPLEX
will be used.
signature(lp = "optObj_glpkAPI")
method to use with package optObj_glpkAPI.
signature(lp = "optObj_lpSolveAPI")
method to use with package optObj_lpSolveAPI.
Superclass '>optObj
and constructor function
optObj
.