Initializing help system before first use

# xprs_optimize

Purpose
Invoke a solution process with the FICO Xpress Optimizer
This function will invoke the suitable optimization routine for an XPRSprob object which holds an already loaded optimization problem. The actual solving behavior is similar to that of optimize. However, this function allows to specify the solution method of the initial LP relaxation via flags and returns the prob object itself, making it suitable for usage with pipes.
Synopsis
`xprs_optimize(prob, sflags = "")`
Arguments

prob | an XPRSprob object, into which a problem has been loaded already.
sflags | Flags to pass to the optimization method, which specifies how to solve the initial continuous problem where the MIP entities are relaxed.

Return value
the XPRSprob object
Example

    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)

Parent Topic R interface reference manual

© 2001-2026 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.