xprs_optimize
This function will invoke the suitable optimzation routine for an XPRSprob object into holding an already loaded optimization problem. This function either invokes lpoptimize() or mipoptimize() depending on the properties of the input (continuous problem or with global entities/sets/indicator constraints/general constraints/piecewise linear constraints)
xprs_optimize(prob, sflags = "")
prob
|
an XPRSprob object, into which a problem has been loaded already.
|
sflags
|
Flags to pass to the optimzation method, which specifies how to solve the initial continuous problem where the global entities are relaxed.
|
problemdata <- list() problemdata$A <- matrix(c(1,0,0,1),nrow=2) problemdata$rhs <- c(1,2) problemdata$objcoef <- c(1,2) problemdata$lb <- c(0,0) problemdata$ub <- c(Inf,Inf) problemdata$rowtype <- c("G", "E") prob <- xprs_loadproblemdata(problemdata=problemdata) xprs_optimize(prob)
© 2001-2022 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.