XPRS
- java.lang.Object
-
- com.dashoptimization.XPRS
-
- All Implemented Interfaces:
- XPRSconstants, XPRSenumerations
public final class XPRS extends java.lang.Object implements XPRSconstants, XPRSenumerations
Global constants and functions for the opimizer.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.dashoptimization.XPRSenumerations
XPRSenumerations.AllowCompute, XPRSenumerations.AlwaysNeverAutomatic, XPRSenumerations.BacktrackAlg, XPRSenumerations.BarOrder, XPRSenumerations.BarPresolveOps, XPRSenumerations.BranchChoice, XPRSenumerations.CholeskyAlgorithm, XPRSenumerations.Clamping, XPRSenumerations.ComputeLog, XPRSenumerations.CrossoverDynamicReduction, XPRSenumerations.CutSelect, XPRSenumerations.CutStrategy, XPRSenumerations.DefaultAlg, XPRSenumerations.DualGradient, XPRSenumerations.DualizeOps, XPRSenumerations.DualStrategy, XPRSenumerations.EnumerationEntry, XPRSenumerations.FeasibilityPump, XPRSenumerations.GenConsType, XPRSenumerations.HeuristicSearchSelect, XPRSenumerations.HeuristicStrategy, XPRSenumerations.LPFlags, XPRSenumerations.LPStatus, XPRSenumerations.MipPresolve, XPRSenumerations.MipRestart, XPRSenumerations.MIPStatus, XPRSenumerations.NodeSelectionCriteria, XPRSenumerations.ObjSense, XPRSenumerations.OnOff, XPRSenumerations.OutputDetail, XPRSenumerations.ParameterType, XPRSenumerations.PreProbing, XPRSenumerations.Presolve, XPRSenumerations.PresolveCoefElim, XPRSenumerations.PresolveDomColumn, XPRSenumerations.PresolveDomRow, XPRSenumerations.PresolveOperations, XPRSenumerations.PresolveState, XPRSenumerations.Pricing, XPRSenumerations.PrimalUnshift, XPRSenumerations.QConvexity, XPRSenumerations.RefineOps, XPRSenumerations.RepairIndefiniteQuadratic, XPRSenumerations.RowFlag, XPRSenumerations.Scaling, XPRSenumerations.SolInfo, XPRSenumerations.StopType, XPRSenumerations.TreeDiagnostics, XPRSenumerations.TunerHistory, XPRSenumerations.TunerMethod, XPRSenumerations.TunerMode, XPRSenumerations.TunerRootAlg, XPRSenumerations.TunerTarget, XPRSenumerations.VariableSelection
-
-
Field Summary
-
Fields inherited from interface com.dashoptimization.XPRSconstants
ACTIVENODES, ACTIVESET, ALG_BARRIER, ALG_DEFAULT, ALG_DUAL, ALG_NETWORK, ALG_PRIMAL, ALG_PULL_CHOLESKY, ALG_PUSH_CHOLESKY, ALGAFTERCROSSOVER, ALGAFTERNETWORK, ALGORITHM, ALLOW_COMPUTE_ALWAYS, ALLOW_COMPUTE_DEFAULT, ALLOW_COMPUTE_NEVER, ANA_ALWAYS, ANA_AUTOMATIC, ANA_NEVER, ATTENTIONLEVEL, AUTOCUTTING, AUTOPERTURB, AUTOSCALING, AVAILABLEMEMORY, BACKTRACK, BACKTRACKALG_BEST_BOUND, BACKTRACKALG_BEST_ESTIMATE, BACKTRACKALG_BEST_ESTIMATE_MIN_INFEAS, BACKTRACKALG_DEEPEST_BEST_ESTIMATE, BACKTRACKALG_DEEPEST_NODE, BACKTRACKALG_EARLIEST_NODE, BACKTRACKALG_HIGHEST_NODE, BACKTRACKALG_LATEST_NODE, BACKTRACKALG_MIN_INFEAS, BACKTRACKALG_RANDOM, BACKTRACKTIE, BAR_DEFAULT, BAR_MIN_DEGREE, BAR_MIN_LOCAL_FILL, BAR_NESTED_DISSECTION, BARAASIZE, BARALG, BARCGAP, BARCONDA, BARCONDD, BARCORES, BARCRASH, BARCROSSOVER, BARDENSECOL, BARDUALINF, BARDUALOBJ, BARDUALSTOP, BARFAILITERLIMIT, BARFREESCALE, BARGAPSTOP, BARGAPTARGET, BARINDEFLIMIT, BARITER, BARITERLIMIT, BARKERNEL, BARLARGEBOUND, BARLSIZE, BARNUMSTABILITY, BAROBJPERTURB, BAROBJSCALE, BARORDER, BARORDERTHREADS, BAROUTPUT, BARPERTURB, BARPRESOLVEOPS, BARPRESOLVEOPS_EXTRA_BARRIER_PRESOLVE, BARPRESOLVEOPS_STANDARD_PRESOLVE, BARPRIMALINF, BARPRIMALOBJ, BARPRIMALSTOP, BARREFITER, BARREGULARIZE, BARRHSSCALE, BARSING, BARSINGR, BARSOLUTION, BARSTART, BARSTARTWEIGHT, BARSTEPSTOP, BARTHREADS, BESTBOUND, BIGM, BIGMMETHOD, BOOL_OFF, BOOL_ON, BOUNDNAME, BRANCH_MAX_EST_FIRST, BRANCH_MIN_EST_FIRST, BRANCHCHOICE, BRANCHDISJ, BRANCHSTRUCTURAL, BRANCHVALUE, BRANCHVAR, BREADTHFIRST, CACHESIZE, CALLBACKCOUNT_CUTMGR, CALLBACKCOUNT_OPTNODE, CALLBACKFROMMASTERTHREAD, CHECKSONMAXCUTTIME, CHECKSONMAXTIME, CHOLESKYALG, CHOLESKYTOL, CLAMPING, CLAMPING_DUAL, CLAMPING_PRIMAL, CLAMPING_RDJ, CLAMPING_SLACKS, COLS, COMPUTE, COMPUTEEXECSERVICE, COMPUTEEXECUTIONS, COMPUTEJOBPRIORITY, COMPUTELOG, COMPUTELOG_NEVER, COMPUTELOG_ONCOMPLETION, COMPUTELOG_ONERROR, COMPUTELOG_REALTIME, COMPUTEMATX, COMPUTEMATX_IIS, COMPUTEMATX_IISMAXTIME, CONCURRENTTHREADS, CONEELEMS, CONES, CONFLICTCUTS, CORESDETECTED, CORESPERCPU, CORESPERCPUDETECTED, COVERCUTS, CPUPLATFORM, CPUSDETECTED, CPUTIME, CRASH, CROSSOVER, CROSSOVERACCURACYTOL, CROSSOVERDRP, CROSSOVERFEASWEIGHT, CROSSOVERITERLIMIT, CROSSOVEROPS, CROSSOVERRELPIVOTTOL, CROSSOVERRELPIVOTTOLSAFE, CROSSOVERTHREADS, CSTYLE, CURRENTMEMORY, CURRENTNODE, CURRMIPCUTOFF, CUTDEPTH, CUTFACTOR, CUTFREQ, CUTS, CUTSELECT, CUTSELECT_CLIQUE, CUTSELECT_COVER, CUTSELECT_DEFAULT, CUTSELECT_DISABLE_CUT_ROWS, CUTSELECT_FLOWPATH, CUTSELECT_GUB_COVER, CUTSELECT_IMPLICATION, CUTSELECT_LIFT_AND_PROJECT, CUTSELECT_MIR, CUTSTRATEGY, CUTSTRATEGY_AGGRESSIVE, CUTSTRATEGY_CONSERVATIVE, CUTSTRATEGY_DEFAULT, CUTSTRATEGY_MODERATE, CUTSTRATEGY_NONE, DEFAULTALG, DENSECOLLIMIT, DETERMINISTIC, DETLOGFREQ, DUALGRADIENT, DUALGRADIENT_AUTOMATIC, DUALGRADIENT_DEVEX, DUALGRADIENT_STEEPESTEDGE, DUALINFEAS, DUALIZE, DUALIZEOPS, DUALIZEOPS_SWITCHALGORITHM, DUALPERTURB, DUALSTRATEGY, DUALSTRATEGY_REMOVE_INFEAS_WITH_DUAL, DUALSTRATEGY_REMOVE_INFEAS_WITH_PRIMAL, DUALTHREADS, EIGENVALUETOL, ELEMS, ELIMFILLIN, ELIMTOL, ERRORCODE, ESCAPENAMES, ETATOL, EXTRACOLS, EXTRAELEMS, EXTRAMIPENTS, EXTRAPRESOLVE, EXTRAQCELEMENTS, EXTRAQCROWS, EXTRAROWS, EXTRASETELEMS, EXTRASETS, FEASIBILITYPUMP, FEASIBILITYPUMP_ALWAYS, FEASIBILITYPUMP_AUTOMATIC, FEASIBILITYPUMP_LASTRESORT, FEASIBILITYPUMP_NEVER, FEASTOL, FEASTOLPERTURB, FEASTOLTARGET, FORCEOUTPUT, FORCEPARALLELDUAL, GENCONCOLS, GENCONS, GENCONS_ABS, GENCONS_AND, GENCONS_MAX, GENCONS_MIN, GENCONS_OR, GENCONSABSTRANSFORMATION, GENCONSDUALREDUCTIONS, GENCONVALS, GLOBALFILEBIAS, GLOBALFILELOGINTERVAL, GLOBALFILESIZE, GLOBALFILEUSAGE, GOMCUTS, HEURBEFORELP, HEURDEPTH, HEURDIVEITERLIMIT, HEURDIVERANDOMIZE, HEURDIVESOFTROUNDING, HEURDIVESPEEDUP, HEURDIVESTRATEGY, HEUREMPHASIS, HEURFORCESPECIALOBJ, HEURFREQ, HEURMAXSOL, HEURNODES, HEURSEARCH_LOCAL_SEARCH_LARGE_NEIGHBOURHOOD, HEURSEARCH_LOCAL_SEARCH_NODE_NEIGHBOURHOOD, HEURSEARCH_LOCAL_SEARCH_SOLUTION_NEIGHBOURHOOD, HEURSEARCHEFFORT, HEURSEARCHFREQ, HEURSEARCHROOTCUTFREQ, HEURSEARCHROOTSELECT, HEURSEARCHTARGETSIZE, HEURSEARCHTREESELECT, HEURSELECT, HEURSTRATEGY, HEURSTRATEGY_AUTOMATIC, HEURSTRATEGY_BASIC, HEURSTRATEGY_ENHANCED, HEURSTRATEGY_EXTENSIVE, HEURSTRATEGY_NONE, HEURTHREADS, HISTORYCOSTS, IFCHECKCONVEXITY, IGNORECONTAINERCPULIMIT, IGNORECONTAINERMEMORYLIMIT, INDICATORS, INDLINBIGM, INDPRELINBIGM, INPUTTOL, INVERTFREQ, INVERTMIN, IOTIMEOUT, ISREPROCESSEDUSERSOLUTION, ISUSERSOLUTION, JAVAXPRS_VERSION, KEEPBASIS, KEEPNROWS, L1CACHE, LINELENGTH, LNPBEST, LNPITERLIMIT, LOCALBACKTRACK, LOCALCHOICE, LP_CUTOFF, LP_CUTOFF_IN_DUAL, LP_INFEAS, LP_NONCONVEX, LP_OPTIMAL, LP_UNBOUNDED, LP_UNFINISHED, LP_UNSOLVED, LP_UNSTARTED, LPFLAGS, LPFLAGS_BARRIER, LPFLAGS_DUAL, LPFLAGS_NETWORK, LPFLAGS_PRIMAL, LPFOLDING, LPITERLIMIT, LPLOG, LPLOGDELAY, LPLOGSTYLE, LPOBJVAL, LPREFINEITERLIMIT, LPSTATUS, LPTHREADS, LUPIVOTTOL, MARKOWITZTOL, MATRIXNAME, MATRIXTOL, MAXABSDUALINFEAS, MAXABSPRIMALINFEAS, MAXCHECKSONMAXCUTTIME, MAXCHECKSONMAXTIME, MAXCUTTIME, MAXGLOBALFILESIZE, MAXIIS, MAXIMPLIEDBOUND, MAXINT, MAXKAPPA, MAXLOCALBACKTRACK, MAXMCOEFFBUFFERELEMS, MAXMEMORYHARD, MAXMEMORYSOFT, MAXMIPINFEAS, MAXMIPSOL, MAXMIPTASKS, MAXNODE, MAXPAGELINES, MAXPROBNAMELENGTH, MAXRELDUALINFEAS, MAXRELPRIMALINFEAS, MAXSCALEFACTOR, MAXSTALLTIME, MAXTIME, MINUSINFINITY, MIP_INFEAS, MIP_LP_NOT_OPTIMAL, MIP_LP_OPTIMAL, MIP_NO_SOL_FOUND, MIP_NOT_LOADED, MIP_OPTIMAL, MIP_SOLUTION, MIP_UNBOUNDED, MIPABSCUTOFF, MIPABSGAPNOTIFY, MIPABSGAPNOTIFYBOUND, MIPABSGAPNOTIFYOBJ, MIPABSSTOP, MIPADDCUTOFF, MIPBESTOBJVAL, MIPCOMPONENTS, MIPCONCURRENTNODES, MIPCONCURRENTSOLVES, MIPDUALREDUCTIONS, MIPENTS, MIPFRACREDUCE, MIPINFEAS, MIPKAPPAFREQ, MIPLOG, MIPOBJVAL, MIPPRESOLVE, MIPPRESOLVE_ALLOW_CHANGE_BOUNDS, MIPPRESOLVE_ALLOW_TREE_RESTART, MIPPRESOLVE_DUAL_REDUCTIONS, MIPPRESOLVE_GLOBAL_COEFFICIENT_TIGHTENING, MIPPRESOLVE_LOGIC_PREPROCESSING, MIPPRESOLVE_OBJECTIVE_BASED_REDUCTIONS, MIPPRESOLVE_REDUCED_COST_FIXING, MIPPRESOLVE_SYMMETRY_REDUCTIONS, MIPRAMPUP, MIPREFINEITERLIMIT, MIPRELCUTOFF, MIPRELGAPNOTIFY, MIPRELSTOP, MIPRESTART, MIPRESTART_AGGRESSIVE, MIPRESTART_DEFAULT, MIPRESTART_MODERATE, MIPRESTART_OFF, MIPRESTARTFACTOR, MIPRESTARTGAPTHRESHOLD, MIPSOLNODE, MIPSOLS, MIPSOLTIME, MIPSTATUS, MIPTERMINATIONMETHOD, MIPTHREADID, MIPTHREADS, MIPTOL, MIPTOLTARGET, MIQCPALG, MPS18COMPATIBLE, MPSBOUNDNAME, MPSECHO, MPSFORMAT, MPSNAMELENGTH, MPSOBJNAME, MPSRANGENAME, MPSRHSNAME, MSE_CALLBACKCULLSOLS_DIVERSITY, MSE_CALLBACKCULLSOLS_MIPOBJECT, MSE_CALLBACKCULLSOLS_MODOBJECT, MSE_DIVERSITYSUM, MSE_METRIC_DIVERSITY, MSE_METRIC_MIPOBJECT, MSE_METRIC_MODOBJECT, MSE_OPTIMIZEDIVERSITY, MSE_OUTPUTLOG, MSE_OUTPUTTOL, MSE_SOLUTIONS, MSP_DEFAULTUSERSOLFEASTOL, MSP_DEFAULTUSERSOLMIPTOL, MSP_DUPLICATESOLUTIONSPOLICY, MSP_ENABLESLACKSTORAGE, MSP_INCLUDEPROBNAMEINLOGGING, MSP_OUTPUTLOG, MSP_PRB_FEASIBLESOLS, MSP_PRB_VALIDSOLS, MSP_SOL_BITFIELDSSYS, MSP_SOL_BITFIELDSUSR, MSP_SOL_COLS, MSP_SOL_FEASTOL, MSP_SOL_ISREPROCESSEDUSERSOLUTION, MSP_SOL_ISUSERSOLUTION, MSP_SOL_MIPTOL, MSP_SOL_NONZEROS, MSP_SOLPRB_INFCNT_MIP, MSP_SOLPRB_INFCNT_PRIMAL, MSP_SOLPRB_INFEASCOUNT, MSP_SOLPRB_INFSUM_MIP, MSP_SOLPRB_INFSUM_PRIMAL, MSP_SOLPRB_OBJ, MSP_SOLUTIONS, MSP_WRITESLXSOLLOGGING, MUTEXCALLBACKS, N_BNDNAM, NAMELENGTH, NETCUTS, NETSTALLLIMIT, NODEDEPTH, NODEPROBINGEFFORT, NODES, NODESELECTION, NODESELECTION_BEST_FIRST, NODESELECTION_BEST_FIRST_THEN_LOCAL_FIRST, NODESELECTION_DEPTH_FIRST, NODESELECTION_LOCAL_DEPTH_FIRST, NODESELECTION_LOCAL_FIRST, NUMIIS, OBJ_MAXIMIZE, OBJ_MINIMIZE, OBJNAME, OBJRHS, OBJSCALEFACTOR, OBJSENSE, OPTIMALITYTOL, OPTIMALITYTOLTARGET, ORIGINALCOLS, ORIGINALGENCONCOLS, ORIGINALGENCONS, ORIGINALGENCONVALS, ORIGINALINDICATORS, ORIGINALMIPENTS, ORIGINALPWLPOINTS, ORIGINALPWLS, ORIGINALQCELEMS, ORIGINALQCONSTRAINTS, ORIGINALQELEMS, ORIGINALROWS, ORIGINALSETMEMBERS, ORIGINALSETS, OUTPUTCONTROLS, OUTPUTLOG, OUTPUTLOG_ERRORS, OUTPUTLOG_ERRORS_AND_WARNINGS, OUTPUTLOG_FULL_OUTPUT, OUTPUTLOG_NO_OUTPUT, OUTPUTMASK, OUTPUTTOL, PARENTNODE, PEAKMEMORY, PEAKTOTALTREEMEMORYUSAGE, PENALTY, PENALTYVALUE, PERTURB, PHYSICALCORESDETECTED, PHYSICALCORESPERCPUDETECTED, PIVOTTOL, PLUSINFINITY, PPFACTOR, PREANALYTICCENTER, PREBASISRED, PREBNDREDCONE, PREBNDREDQUAD, PRECLIQUESTRATEGY, PRECOEFELIM, PRECOEFELIM_AGGRESSIVE, PRECOEFELIM_CAUTIOUS, PRECOEFELIM_DISABLED, PRECOMPONENTS, PRECOMPONENTSEFFORT, PRECONEDECOMP, PRECONVERTSEPARABLE, PREDICTEDATTLEVEL, PREDOMCOL, PREDOMCOL_AGGRESSIVE, PREDOMCOL_AUTOMATIC, PREDOMCOL_CAUTIOUS, PREDOMCOL_DISABLED, PREDOMROW, PREDOMROW_AGGRESSIVE, PREDOMROW_AUTOMATIC, PREDOMROW_CAUTIOUS, PREDOMROW_DISABLED, PREDOMROW_MEDIUM, PREDUPROW, PREELIMQUAD, PREFOLDING, PREIMPLICATIONS, PRELINDEP, PREOBJCUTDETECT, PREPERMUTE, PREPERMUTESEED, PREPROBING, PREPROBING_AUTOMATIC, PREPROBING_DISABLED, PREPROBING_FULL, PREPROBING_FULL_AND_REPEAT, PREPROBING_LIGHT, PREPROTECTDUAL, PRESOLVE, PRESOLVE_DEFAULT, PRESOLVE_KEEPREDUNDANTBOUNDS, PRESOLVE_NONE, PRESOLVE_NOPRIMALINFEASIBILITY, PRESOLVEINDEX, PRESOLVEMAXGROW, PRESOLVEOPS, PRESOLVEOPS_DUALREDUCTIONS, PRESOLVEOPS_DUPLICATECOLUMNREMOVAL, PRESOLVEOPS_DUPLICATEROWREMOVAL, PRESOLVEOPS_FORCINGROWREMOVAL, PRESOLVEOPS_LINEARLYDEPENDANTROWREMOVAL, PRESOLVEOPS_NOADVANCEDIPREDUCTIONS, PRESOLVEOPS_NODUALREDONGLOBALS, PRESOLVEOPS_NOGLOBALDOMAINCHANGE, PRESOLVEOPS_NOINTEGERVARIABLEANDSOSDETECTION, PRESOLVEOPS_NOIPREDUCTIONS, PRESOLVEOPS_REDUNDANTROWREMOVAL, PRESOLVEOPS_SINGLETONCOLUMNREMOVAL, PRESOLVEOPS_SINGLETONROWREMOVAL, PRESOLVEOPS_STRONGDUALREDUCTIONS, PRESOLVEOPS_VARIABLEELIMINATIONS, PRESOLVEPASSES, PRESOLVESTATE, PRESOLVESTATE_PROBLEMLOADED, PRESOLVESTATE_PROBLEMLPPRESOLVED, PRESOLVESTATE_PROBLEMMIPPRESOLVED, PRESOLVESTATE_SOLUTIONVALID, PRESORT, PRICING_DEFAULT, PRICING_DEVEX, PRICING_PARTIAL, PRICINGALG, PRIMALDUALINTEGRAL, PRIMALINFEAS, PRIMALPERTURB, PRIMALUNSHIFT, PRIMALUNSHIFT_ALLOW_DUAL_UNSHIFT, PRIMALUNSHIFT_NO_DUAL_UNSHIFT, PSEUDOCOST, PWLCONS, PWLDUALREDUCTIONS, PWLNONCONVEXTRANSFORMATION, PWLPOINTS, QCCUTS, QCELEMS, QCONSTRAINTS, QCONVEXITY_CONECONVERTABLE, QCONVEXITY_CONVEX, QCONVEXITY_CONVEXCONE, QCONVEXITY_NONCONVEX, QCONVEXITY_REPAIRABLE, QCONVEXITY_UNKNOWN, QCROOTALG, QELEMS, QSIMPLEXOPS, QUADRATICUNSHIFT, RANDOMSEED, RANGENAME, REFACTOR, REFINEOPS, REFINEOPS_ITERATIVEREFINER, REFINEOPS_LPOPTIMAL, REFINEOPS_LPPRESOLVE, REFINEOPS_MIPFIXGLOBALS, REFINEOPS_MIPFIXGLOBALSTARGET, REFINEOPS_MIPNODELP, REFINEOPS_MIPOPTIMAL, REFINEOPS_MIPSOLUTION, REFINEOPS_REFINERPRECISION, REFINEOPS_REFINERUSEDUAL, REFINEOPS_REFINERUSEPRIMAL, RELAXTREEMEMORYLIMIT, RELPIVOTTOL, REPAIRINDEFINITEQ, REPAIRINDEFINITEQ_NO_REPAIR, REPAIRINDEFINITEQ_REPAIR_IF_POSSIBLE, REPAIRINDEFINITEQMAX, REPAIRINFEASMAXTIME, RESOURCESTRATEGY, RHSNAME, ROOTPRESOLVE, ROWFLAG_DELAYED, ROWFLAG_INDICATOR, ROWFLAG_MODELCUT, ROWFLAG_NONLINEAR, ROWFLAG_QUADRATIC, ROWS, SBBEST, SBEFFORT, SBESTIMATE, SBITERLIMIT, SBSELECT, SCALING, SCALING_BEFORE_AND_AFTER_PRESOLVE, SCALING_BEFORE_PRESOLVE, SCALING_BIGM, SCALING_BY_MAX_ELEM_NOT_GEO_MEAN, SCALING_COLUMN_SCALING, SCALING_CURTIS_REID, SCALING_DISABLE_GLOBAL_OBJECTIVE_SCALING, SCALING_DOGLEG, SCALING_IGNORE_QUADRATIC_ROW_PART, SCALING_MAXIMUM, SCALING_NO_AGGRESSIVE_Q_SCALING, SCALING_NO_SCALING_COLUMNS_DOWN, SCALING_NO_SCALING_ROWS_UP, SCALING_RHS_SCALING, SCALING_ROW_SCALING, SCALING_ROW_SCALING_AGAIN, SCALING_RUIZ, SCALING_SIMPLEX_OBJECTIVE_SCALING, SCALING_SLACK_SCALING, SERIALIZEPREINTSOL, SETMEMBERS, SETS, SIFTING, SIFTPASSES, SIFTPRESOLVEOPS, SIFTSWITCH, SIMPLEXITER, SLEEPONTHREADWAIT, SOLINFO_ABSDUALINFEAS, SOLINFO_ABSMIPINFEAS, SOLINFO_ABSPRIMALINFEAS, SOLINFO_MAXMIPFRACTIONAL, SOLINFO_RELDUALINFEAS, SOLINFO_RELMIPINFEAS, SOLINFO_RELPRIMALINFEAS, SOSREFTOL, SPARECOLS, SPAREELEMS, SPAREMIPENTS, SPAREROWS, SPARESETELEMS, SPARESETS, STOP_CTRLC, STOP_GLOBALERROR, STOP_INFEASIBLE, STOP_ITERLIMIT, STOP_LICENSELOST, STOP_MEMORYERROR, STOP_MIPGAP, STOP_NODELIMIT, STOP_NONE, STOP_SOLLIMIT, STOP_TIMELIMIT, STOP_USER, STOPSTATUS, SUMPRIMALINF, SYMMETRY, SYMSELECT, SYSTEMMEMORY, THREADS, TIME, TOTALMEMORY, TRACE, TREECOMPLETION, TREECOMPRESSION, TREECOVERCUTS, TREECUTSELECT, TREEDIAGNOSTICS, TREEDIAGNOSTICS_MEMORY_SAVED_REPORTS, TREEDIAGNOSTICS_MEMORY_USAGE_SUMMARIES, TREEGOMCUTS, TREEMEMORYLIMIT, TREEMEMORYSAVINGTARGET, TREEMEMORYUSAGE, TREEQCCUTS, TREERESTARTS, TUNERHISTORY, TUNERHISTORY_APPEND, TUNERHISTORY_IGNORE, TUNERHISTORY_REUSE, TUNERMAXTIME, TUNERMETHOD, TUNERMETHOD_AUTOMATIC, TUNERMETHOD_LPNUMERICS, TUNERMETHOD_LPQUICK, TUNERMETHOD_MIPCOMPREHENSIVE, TUNERMETHOD_MIPHEURISTICS, TUNERMETHOD_MIPQUICK, TUNERMETHOD_MIPROOTFOCUS, TUNERMETHOD_MIPSIMPLE, TUNERMETHOD_MIPTREEFOCUS, TUNERMETHOD_MISLPQUICK, TUNERMETHOD_SLPQUICK, TUNERMETHODFILE, TUNERMODE, TUNERMODE_AUTOMATIC, TUNERMODE_OFF, TUNERMODE_ON, TUNEROUTPUT, TUNEROUTPUTPATH, TUNERPERMUTE, TUNERROOTALG, TUNERROOTALG_BARRIER, TUNERROOTALG_DUAL, TUNERROOTALG_NETWORK, TUNERROOTALG_PRIMAL, TUNERSESSIONNAME, TUNERTARGET, TUNERTARGET_AUTOMATIC, TUNERTARGET_BOUND, TUNERTARGET_GAP, TUNERTARGET_INTEGRAL, TUNERTARGET_OBJVAL, TUNERTARGET_SLPOBJVAL, TUNERTARGET_SLPTIME, TUNERTARGET_SLPVALIDATION, TUNERTARGET_TIMEBOUND, TUNERTARGET_TIMEGAP, TUNERTARGET_TIMEOBJVAL, TUNERTHREADS, TUNERVERBOSE, TYPE_DOUBLE, TYPE_INT, TYPE_INT64, TYPE_NOTDEFINED, TYPE_STRING, USERSOLHEURISTIC, UUID, VARSELECTION, VARSELECTION_AUTOMATIC, VARSELECTION_DOWN_PSEUDO_COST, VARSELECTION_MAX_UPDOWN_PSEUDO_COSTS, VARSELECTION_MAX_UPDOWN_PSEUDO_COSTS_PLUS_TWICE_MIN, VARSELECTION_MIN_UPDOWN_PSEUDO_COSTS, VARSELECTION_SUM_UPDOWN_PSEUDO_COSTS, VARSELECTION_UP_PSEUDO_COST, VERSION, XDRPAGGRESSIVE_BEFORE_CROSSOVER, XDRPBEFORE_CROSSOVER, XDRPINSIDE_CROSSOVER, XPRESSVERSION, XPVERSION
-
-
Constructor Summary
Constructor and Description XPRS()
-
Method Summary
Modifier and Type Method and Description static void
addMsgHandlerListener(java.io.OutputStream w)
Allow messages to be redirected to an OutputStreamstatic void
addMsgHandlerListener(java.io.Writer w)
Allow messages to be redirected to a Writerstatic void
addMsgHandlerListener(XPRSmsgHandlerListener listener)
Set the listener for the MsgHandlercallback.static void
addMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data)
Set the listener for the MsgHandlercallback.static boolean
beginLicensing()
Convenience wrapper forbeginLicensing(BoolHolder)
.static void
endLicensing()
static void
featureQuery(java.lang.String feature, IntHolder p_status)
Checks if the provided feature is available in the current license used by the optimizer.static void
free()
static java.lang.String
getBanner()
Convenience wrapper forgetBanner(StringHolder)
.static void
getBanner(StringHolder banner)
Returns the banner and copyright message.static boolean
getCheckedMode()
Convenience wrapper forgetCheckedMode(BoolHolder)
.static void
getCheckedMode(BoolHolder p_checkedmode)
You can use this function to interrogate whether checking and validation of all Optimizer function calls is enabled for the current process.static XPRSenumerations.AllowCompute
getComputeAllowed()
Convenience wrapper forgetComputeAllowed(XPRSenumerationHolders.AllowCompute)
.static int
getDaysLeft()
Convenience wrapper forgetDaysLeft(IntHolder)
.static void
getDaysLeft(IntHolder p_daysleft)
Returns the number of days left until the license expires.static void
getDebugMode(IntHolder p_debugmode)
static java.lang.String
getLastError()
Convenience wrapper forgetLastError(IntHolder, StringHolder, int, IntHolder)
.static java.lang.String
getLastError(IntHolder p_msgcode)
Convenience wrapper forgetLastError(IntHolder, StringHolder, int, IntHolder)
.static java.lang.String
getLicErrMsg()
static int
getLicErrMsg(StringHolder msg)
static void
getSafeMode(IntHolder p_safemode)
static java.lang.String
getVersion()
Convenience wrapper forgetVersion(StringHolder)
.static void
getVersion(StringHolder version)
Returns the full Optimizer version number in the form 15.10.03, where 15 is the major release, 10 is the minor release, and 03 is the build number.static void
init()
static void
init(java.lang.String path)
static boolean
isInitialized()
Check if XPRS.Init has been called successfullystatic int
license(IntHolder p_i)
Convenience wrapper forlicense(IntHolder, StringHolder)
.static int
license(IntHolder p_i, StringHolder p_c)
static void
removeMsgHandlerListener()
Remove the listener for the MsgHandlercallback.static void
setArchConsistency(int consistent)
Sets whether to force the same execution path on various CPU architecture extensions, in particular (pre-)AVX and AVX2.static void
setCheckedMode(boolean checkedmode)
You can use this function to disable some of the checking and validation of function calls and function call parameters for calls to the Xpress Optimizer API.static void
setComputeAllowed(XPRSenumerations.AllowCompute allow)
Set whether the current application is allowed to use the Insight Compute interface.static void
setDebugMode(int debugmode)
static void
setSafeMode(int safemode)
static void
startRecord(java.lang.String path)
Create logfile for debugging purposesstatic void
startRecord(java.lang.String path, int flags)
Create logfile for debugging purposesstatic void
startRecord(java.lang.String path, java.lang.String cfgFilePath, int flags)
Create logfile for debugging purposesstatic void
stopRecord()
-
-
-
Method Detail
-
isInitialized
public static boolean isInitialized()
Check if XPRS.Init has been called successfully
-
init
public static void init(java.lang.String path) throws XPRSexception
- Throws:
-
XPRSexception
-
init
public static void init() throws XPRSexception
- Throws:
-
XPRSexception
-
free
public static void free() throws XPRSexception
- Throws:
-
XPRSexception
-
getLicErrMsg
public static int getLicErrMsg(StringHolder msg) throws XPRSexception
- Throws:
-
XPRSexception
-
getLicErrMsg
public static java.lang.String getLicErrMsg() throws XPRSexception
- Throws:
-
XPRSexception
-
startRecord
public static void startRecord(java.lang.String path, java.lang.String cfgFilePath, int flags) throws XPRSexception
Create logfile for debugging purposes- Throws:
-
XPRSexception
-
startRecord
public static void startRecord(java.lang.String path, int flags) throws XPRSexception
Create logfile for debugging purposes- Throws:
-
XPRSexception
-
startRecord
public static void startRecord(java.lang.String path) throws XPRSexception
Create logfile for debugging purposes- Throws:
-
XPRSexception
-
stopRecord
public static void stopRecord() throws XPRSexception
- Throws:
-
XPRSexception
-
license
public static int license(IntHolder p_i, StringHolder p_c) throws XPRSexception
- Throws:
-
XPRSexception
-
license
public static int license(IntHolder p_i) throws XPRSexception
Convenience wrapper forlicense(IntHolder, StringHolder)
.- Throws:
-
XPRSexception
- See Also:
-
license(IntHolder, StringHolder)
-
beginLicensing
public static boolean beginLicensing() throws XPRSexception
Convenience wrapper forbeginLicensing(BoolHolder)
.- Throws:
-
XPRSexception
- See Also:
-
beginLicensing(BoolHolder)
-
endLicensing
public static void endLicensing() throws XPRSexception
- Throws:
-
XPRSexception
-
setCheckedMode
public static void setCheckedMode(boolean checkedmode) throws XPRSexception
You can use this function to disable some of the checking and validation of function calls and function call parameters for calls to the Xpress Optimizer API. This checking is relatively lightweight but disabling it can improve performance in cases where non-intensive Xpress Optimizer functions are called repeatedly in a short space of time. Please note: after disabling function call checking and validation, invalid usage of Xpress Optimizer functions may not be detected and may cause the Xpress Optimizer process to behave unexpectedly or crash. It is not recommended that you disable function call checking and validation during application development.- Parameters:
-
checkedmode
- Pass as 0 to disable much of the validation for all Xpress function calls from the current process. Pass 1 to re-enable validation. By default, validation is enabled. - Throws:
-
XPRSexception
-
getCheckedMode
public static void getCheckedMode(BoolHolder p_checkedmode) throws XPRSexception
You can use this function to interrogate whether checking and validation of all Optimizer function calls is enabled for the current process. Checking and validation is enabled by default but can be disabled by setCheckedMode.- Parameters:
-
p_checkedmode
- Variable that is set to 0 if checking and validation of Optimizer function calls is disabled for the current process, non-zero otherwise. - Throws:
-
XPRSexception
-
getCheckedMode
public static boolean getCheckedMode() throws XPRSexception
Convenience wrapper forgetCheckedMode(BoolHolder)
.- Throws:
-
XPRSexception
- See Also:
-
getCheckedMode(BoolHolder)
-
getBanner
public static void getBanner(StringHolder banner) throws XPRSexception
Returns the banner and copyright message.- Parameters:
-
banner
- A buffer of at least XPRS_MAXBUFFERLENGTH characters in which the null terminated banner string will be returned. - Throws:
-
XPRSexception
-
getBanner
public static java.lang.String getBanner() throws XPRSexception
Convenience wrapper forgetBanner(StringHolder)
.- Throws:
-
XPRSexception
- See Also:
-
getBanner(StringHolder)
-
getVersion
public static void getVersion(StringHolder version) throws XPRSexception
Returns the full Optimizer version number in the form 15.10.03, where 15 is the major release, 10 is the minor release, and 03 is the build number.- Parameters:
-
version
- Buffer long enough to hold the version string (plus a null terminator). This should be at least 16 characters. - Throws:
-
XPRSexception
-
getVersion
public static java.lang.String getVersion() throws XPRSexception
Convenience wrapper forgetVersion(StringHolder)
.- Throws:
-
XPRSexception
- See Also:
-
getVersion(StringHolder)
-
getDaysLeft
public static void getDaysLeft(IntHolder p_daysleft) throws XPRSexception
Returns the number of days left until the license expires.- Parameters:
-
p_daysleft
- Pointer to an integer where the number of days is to be returned. For a permanent license, the return value will be XPRS_MAXINT - Throws:
-
XPRSexception
-
getDaysLeft
public static int getDaysLeft() throws XPRSexception
Convenience wrapper forgetDaysLeft(IntHolder)
.- Throws:
-
XPRSexception
- See Also:
-
getDaysLeft(IntHolder)
-
featureQuery
public static void featureQuery(java.lang.String feature, IntHolder p_status) throws XPRSexception
Checks if the provided feature is available in the current license used by the optimizer.- Parameters:
-
feature
- The feature string to be checked in the license. -
p_status
- Return status of the check, a value of 1 indicates the feature is available. - Throws:
-
XPRSexception
-
setArchConsistency
public static void setArchConsistency(int consistent) throws XPRSexception
Sets whether to force the same execution path on various CPU architecture extensions, in particular (pre-)AVX and AVX2.- Parameters:
-
consistent
- Whether to force the same execution path:- 0: Do not force the same execution path (default behavior);
- 1: Force the same execution path.
- Throws:
-
XPRSexception
-
setSafeMode
public static void setSafeMode(int safemode) throws XPRSexception
- Throws:
-
XPRSexception
-
getSafeMode
public static void getSafeMode(IntHolder p_safemode) throws XPRSexception
- Throws:
-
XPRSexception
-
setDebugMode
public static void setDebugMode(int debugmode) throws XPRSexception
- Throws:
-
XPRSexception
-
getDebugMode
public static void getDebugMode(IntHolder p_debugmode) throws XPRSexception
- Throws:
-
XPRSexception
-
getLastError
public static java.lang.String getLastError() throws XPRSexception
Convenience wrapper forgetLastError(IntHolder, StringHolder, int, IntHolder)
.- Throws:
-
XPRSexception
- See Also:
-
getLastError(IntHolder, StringHolder, int, IntHolder)
-
getLastError
public static java.lang.String getLastError(IntHolder p_msgcode) throws XPRSexception
Convenience wrapper forgetLastError(IntHolder, StringHolder, int, IntHolder)
.- Throws:
-
XPRSexception
- See Also:
-
getLastError(IntHolder, StringHolder, int, IntHolder)
-
setComputeAllowed
public static void setComputeAllowed(XPRSenumerations.AllowCompute allow) throws XPRSexception
Set whether the current application is allowed to use the Insight Compute interface.- Parameters:
-
allow
- Whether the Insight Compute interface may be used; must be one of the following constants:- XPRS_ALLOW_COMPUTE_ALWAYS: Always allow solves to be sent to Compute.
- XPRS_ALLOW_COMPUTE_NEVER: Never allow solves to be sent to Compute.
- XPRS_ALLOW_COMPUTE_DEFAULT: Allow solves to be sent to Compute only from non-OEM applications.
- Throws:
-
XPRSexception
-
getComputeAllowed
public static XPRSenumerations.AllowCompute getComputeAllowed() throws XPRSexception
Convenience wrapper forgetComputeAllowed(XPRSenumerationHolders.AllowCompute)
.- Throws:
-
XPRSexception
- See Also:
-
getComputeAllowed(XPRSenumerationHolders.AllowCompute)
-
addMsgHandlerListener
public static void addMsgHandlerListener(XPRSmsgHandlerListener listener) throws XPRSexception
Set the listener for the MsgHandlercallback. Note that the global environment can have at most one MsgHandler listener.- Parameters:
-
listener
- The listener to which the event will be dispatched. - Throws:
-
XPRSexception
-
addMsgHandlerListener
public static void addMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data) throws XPRSexception
Set the listener for the MsgHandlercallback. Note that the global environment can have at most one MsgHandler listener.- Parameters:
-
listener
- The listener to which the event will be dispatched. -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
removeMsgHandlerListener
public static void removeMsgHandlerListener() throws XPRSexception
Remove the listener for the MsgHandlercallback.- Throws:
-
XPRSexception
-
addMsgHandlerListener
public static void addMsgHandlerListener(java.io.Writer w) throws XPRSexception
Allow messages to be redirected to a Writer- Throws:
-
XPRSexception
-
addMsgHandlerListener
public static void addMsgHandlerListener(java.io.OutputStream w) throws XPRSexception
Allow messages to be redirected to an OutputStream- Throws:
-
XPRSexception
-
-
© 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.