Select Git revision
-
dgelessus authored
CommandUtils.splitArgs now takes an extra (optional) parameter to ask it to not split the entire argument string, but only up to the argument at the given offset in the string. The returned SplitResult contains information about which parameter the argument splitting stopped at. This is used in the new implementation of the inspection feature: when the kernel is asked to inspect at a certain position, the arguments are split up to that position, and the argument at that position is inspected. (The arguments are only split and not fully parsed, because inspection should be possible even if the command arguments are still incomplete or otherwise invalid.) This new implementation replaces the old separate implementation in CommandUtils.splitArgs.
dgelessus authoredCommandUtils.splitArgs now takes an extra (optional) parameter to ask it to not split the entire argument string, but only up to the argument at the given offset in the string. The returned SplitResult contains information about which parameter the argument splitting stopped at. This is used in the new implementation of the inspection feature: when the kernel is asked to inspect at a certain position, the arguments are split up to that position, and the argument at that position is inspected. (The arguments are only split and not fully parsed, because inspection should be possible even if the command arguments are still incomplete or otherwise invalid.) This new implementation replaces the old separate implementation in CommandUtils.splitArgs.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
checkCopyQuadCPLEX.Rd 1.93 KiB
\name{checkCopyQuadCPLEX}
\alias{checkCopyQuadCPLEX}
\alias{CPXcheckcopyquad}
\title{
Validate Arguments of the Corresponding \code{checkCopyQuadCPLEX} Routine
}
\description{
Low level interface function to the IBM ILOG CPLEX function
\code{CPXcheckcopyquad}. Consult the IBM ILOG CPLEX documentation for more
detailed information.
}
\usage{
checkCopyQuadCPLEX(env, lp, qmatbeg, qmatcnt, qmatind, qmatval)
}
\arguments{
\item{env}{
An object of class \code{"\linkS4class{cplexPtr}"} as returned by
\code{\link{openEnvCPLEX}}. This is basically a pointer to an
IBM ILOG CPLEX environment.
}
\item{lp}{
An object of class \code{"\linkS4class{cplexPtr}"} as returned by
\code{\link{initProbCPLEX}}. This is basically a pointer to an
IBM ILOG CPLEX problem object.
}
\item{qmatbeg}{
Array that defines the constraint matrix. Consult the IBM ILOG CPLEX
documentation for more detailed information.
}
\item{qmatcnt}{
Array that defines the constraint matrix. Consult the IBM ILOG CPLEX
documentation for more detailed information.
}
\item{qmatind}{
Array that defines the constraint matrix. Consult the IBM ILOG CPLEX
documentation for more detailed information.
}
\item{qmatval}{
Array that defines the constraint matrix. Consult the IBM ILOG CPLEX
documentation for more detailed information.
}
}
\details{
Interface to the C function \code{checkCopyQuad} which calls the CPLEX
function \code{CPXcheckcopyquad}.
}
\value{
Nonzero if it detects an error in the data; it returns zero if it does not
detect any data errors.
}
\references{
The IBM ILOG CPLEX home page at
\url{https://www.ibm.com/developerworks/university/academicinitiative/}.
}
\author{
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Claus Jonathan Fritzemeier <clausjonathan.fritzemeier@uni-duesseldorf.de>
}
\seealso{
\code{\link{copyQuadCPLEX}}
}
\keyword{ optimize }