xpress
The namespace that contains all functions, constants, etc of the Xpress Solver. More...
Namespaces |
|
| namespace | maps |
| Multi-dimensional maps. |
|
| namespace | objects |
| Creating optimization problems using objects. |
|
Classes |
|
| class | Array |
| Class for passing arrays to Xpress library functions. More... |
|
| class | BranchObject |
| Xpress branching object. More... |
|
| class | CallbackHandle |
| Callback reference. More... |
|
| struct | has_begin |
Type trait to check whether C supports begin(C) in some way. More... |
|
| struct | has_begin_function |
| Type trait to check whether a type supports begin(type). More... |
|
| class | has_begin_member |
| Type trait to check whether a type has a begin() member. More... |
|
| struct | has_end |
Type trait to check whether C supports end(C) in some way. More... |
|
| struct | has_end_function |
| Type trait to check whether a type supports end(type). More... |
|
| class | has_end_member |
| Type trait to check whether a type has an end() member. More... |
|
| struct | has_size |
Type trait to check whether C supports size(C) in some way. More... |
|
| struct | has_size_function |
| Type trait to check whether a type supports size(type). More... |
|
| class | has_size_member |
Type trait to check whether T has a member function size that returns something compatible with std::size:t. More... |
|
| class | has_value_type |
Type trait to check whether T has a member value_type. More... |
|
| class | IndicatorInfo |
| Data describing an indicator constraint. More... |
|
| struct | is_collection |
Check whether type T is a collection. More... |
|
| struct | is_iterable |
Check whether type T is iterable. More... |
|
| struct | is_stream |
Check whether type T is a stream. More... |
|
| class | NameList |
| Name list object. More... |
|
| class | Object |
| Base class for all Xpress objects. More... |
|
| class | PwlBreakpoint |
| A breakpoint in a piecewise linear function. More... |
|
| class | SizedArray |
Similar to class Array but this class also knows the length of the array. More... |
|
| class | VariableBuilder |
| Builders for creating arrays or maps of variables. More... |
|
| class | XPRS |
| Xpress license. More... |
|
| class | XPRSException |
| Exception that indicates an error in the Xpress library. More... |
|
| class | XPRSProblem |
| Xpress solver problem. More... |
|
Enumerations |
|
| enum class | AllowCompute : int { Always = XPRS_ALLOW_COMPUTE_ALWAYS , Never = XPRS_ALLOW_COMPUTE_NEVER , Default = XPRS_ALLOW_COMPUTE_DEFAULT } |
| AllowCompute enumeration. More... |
|
| enum class | AlwaysNeverAutomatic : int { Automatic = XPRS_ANA_AUTOMATIC , Never = XPRS_ANA_NEVER , Always = XPRS_ANA_ALWAYS } |
| AlwaysNeverAutomatic enumeration. More... |
|
| enum class | BacktrackAlg : int { Automatic = XPRS_BACKTRACKALG_AUTOMATIC , BestEstimate = XPRS_BACKTRACKALG_BEST_ESTIMATE , BestBound = XPRS_BACKTRACKALG_BEST_BOUND , DeepestNode = XPRS_BACKTRACKALG_DEEPEST_NODE , HighestNode = XPRS_BACKTRACKALG_HIGHEST_NODE , EarliestNode = XPRS_BACKTRACKALG_EARLIEST_NODE , LatestNode = XPRS_BACKTRACKALG_LATEST_NODE , Random = XPRS_BACKTRACKALG_RANDOM , MinimumInfeas = XPRS_BACKTRACKALG_MIN_INFEAS , BestEstimateWithMinimumInfeas = XPRS_BACKTRACKALG_BEST_ESTIMATE_MIN_INFEAS , DeepestBestEstimate = XPRS_BACKTRACKALG_DEEPEST_BEST_ESTIMATE , DeepestBestBound = XPRS_BACKTRACKALG_DEEPEST_BEST_BOUND } |
| BacktrackAlg enumeration. More... |
|
| enum class | BARHGOps : int { AsymAvg = XPRS_BARHGOPS_ASYM_AVG , StartL1 = XPRS_BARHGOPS_START_L1 , StartL2 = XPRS_BARHGOPS_START_L2 , StartLInf = XPRS_BARHGOPS_START_LINF , RestartL2 = XPRS_BARHGOPS_RESTART_L2 , OmegaContract = XPRS_BARHGOPS_OMEGA_CONTRACT , OmegaInf = XPRS_BARHGOPS_OMEGA_INF , MaxObjScale = XPRS_BARHGOPS_MAX_OBJSCALE , NoObjScale = XPRS_BARHGOPS_NO_OBJSCALE , HPDHG = XPRS_BARHGOPS_HPDHG , HBASE = XPRS_BARHGOPS_HBASE , UnweightedAverage = XPRS_BARHGOPS_UNWEIGHTED_AVERAGE , RestartNoscale = XPRS_BARHGOPS_RESTART_NOSCALE , RestartOmega = XPRS_BARHGOPS_RESTART_OMEGA } |
| BARHGOps enumeration. More... |
|
| enum class | BarHGPrecision : int { Automatic = XPRS_BARHGPRECISION_AUTOMATIC , Single = XPRS_BARHGPRECISION_SINGLE , Double = XPRS_BARHGPRECISION_DOUBLE } |
| BarHGPrecision enumeration. More... |
|
| enum class | BarOrder : int { Default = XPRS_BAR_DEFAULT , MinDegree = XPRS_BAR_MIN_DEGREE , MinLocalFill = XPRS_BAR_MIN_LOCAL_FILL , NestedDissection = XPRS_BAR_NESTED_DISSECTION } |
| BarOrder enumeration. More... |
|
| enum class | BarPresolveOps : int { StandardPresolve = XPRS_BARPRESOLVEOPS_STANDARD_PRESOLVE , ExtraBarrierPresolve = XPRS_BARPRESOLVEOPS_EXTRA_BARRIER_PRESOLVE } |
| BarPresolveOps enumeration. More... |
|
| enum class | BasisStatus : int { NonbasicLower = XPRS_BASISSTATUS_NONBASIC_LOWER , Basic = XPRS_BASISSTATUS_BASIC , NonbasicUpper = XPRS_BASISSTATUS_NONBASIC_UPPER , Superbasic = XPRS_BASISSTATUS_SUPERBASIC } |
| BasisStatus enumeration. More... |
|
| enum class | BranchChoice : int { MinimumEstimateFirst = XPRS_BRANCH_MIN_EST_FIRST , MaximumEstimateFirst = XPRS_BRANCH_MAX_EST_FIRST , IncumbentSolutionFirst = XPRS_BRANCH_INC_SOL_FIRST , RootnodeSolutionFarther = XPRS_BRANCH_ROOTNODE_SOL_FARTHER } |
| BranchChoice enumeration. More... |
|
| enum class | CholeskyAlgorithm : int { PullCholesky = XPRS_ALG_PULL_CHOLESKY , PushCholesky = XPRS_ALG_PUSH_CHOLESKY } |
| CholeskyAlgorithm enumeration. More... |
|
| enum class | Clamping : int { Primal = XPRS_CLAMPING_PRIMAL , Dual = XPRS_CLAMPING_DUAL , Slacks = XPRS_CLAMPING_SLACKS , RDJ = XPRS_CLAMPING_RDJ } |
| Clamping enumeration. More... |
|
| enum struct | ColumnType : char |
| Enumeration for variable/column types. More... |
|
| enum class | ComputeLog : int { Never = XPRS_COMPUTELOG_NEVER , RealTime = XPRS_COMPUTELOG_REALTIME , OnCompletion = XPRS_COMPUTELOG_ONCOMPLETION , OnError = XPRS_COMPUTELOG_ONERROR } |
| ComputeLog enumeration. More... |
|
| enum class | CrossoverDynamicReduction : int { BeforeCrossover = XPRS_XDRPBEFORE_CROSSOVER , InsideCrossover = XPRS_XDRPINSIDE_CROSSOVER , AggressiveBeforeCrossover = XPRS_XDRPAGGRESSIVE_BEFORE_CROSSOVER } |
| CrossoverDynamicReduction enumeration. More... |
|
| enum class | CutSelect : int { Clique = XPRS_CUTSELECT_CLIQUE , Mir = XPRS_CUTSELECT_MIR , Cover = XPRS_CUTSELECT_COVER , Flowpath = XPRS_CUTSELECT_FLOWPATH , Implication = XPRS_CUTSELECT_IMPLICATION , LiftAndProject = XPRS_CUTSELECT_LIFT_AND_PROJECT , DisableCutRows = XPRS_CUTSELECT_DISABLE_CUT_ROWS , GubCover = XPRS_CUTSELECT_GUB_COVER , Default = XPRS_CUTSELECT_DEFAULT } |
| CutSelect enumeration. More... |
|
| enum class | CutStrategy : int { Default = XPRS_CUTSTRATEGY_DEFAULT , None = XPRS_CUTSTRATEGY_NONE , Conservative = XPRS_CUTSTRATEGY_CONSERVATIVE , Moderate = XPRS_CUTSTRATEGY_MODERATE , Aggressive = XPRS_CUTSTRATEGY_AGGRESSIVE } |
| CutStrategy enumeration. More... |
|
| enum class | DefaultAlg : int { Default = XPRS_ALG_DEFAULT , Dual = XPRS_ALG_DUAL , Primal = XPRS_ALG_PRIMAL , Barrier = XPRS_ALG_BARRIER , Network = XPRS_ALG_NETWORK } |
| DefaultAlg enumeration. More... |
|
| enum class | DualGradient : int { Automatic = XPRS_DUALGRADIENT_AUTOMATIC , Devex = XPRS_DUALGRADIENT_DEVEX , SteepestEdge = XPRS_DUALGRADIENT_STEEPESTEDGE , DirectSteepestEdge = XPRS_DUALGRADIENT_DIRECTSTEEPESTEDGE , SparseDevex = XPRS_DUALGRADIENT_SPARSEDEVEX } |
| DualGradient enumeration. More... |
|
| enum class | DualizeOps : int { SwitchAlgorithm = XPRS_DUALIZEOPS_SWITCHALGORITHM } |
| DualizeOps enumeration. More... |
|
| enum class | DualStrategy : int { RemoveInfeasibilitiesWithPrimal = XPRS_DUALSTRATEGY_REMOVE_INFEAS_WITH_PRIMAL , RemoveInfeasibilitiesWithDual = XPRS_DUALSTRATEGY_REMOVE_INFEAS_WITH_DUAL } |
| DualStrategy enumeration. More... |
|
| enum class | FeasibilityPump : int { Automatic = XPRS_FEASIBILITYPUMP_AUTOMATIC , Never = XPRS_FEASIBILITYPUMP_NEVER , Always = XPRS_FEASIBILITYPUMP_ALWAYS , LastResort = XPRS_FEASIBILITYPUMP_LASTRESORT } |
| FeasibilityPump enumeration. More... |
|
| enum class | GenConsType : int { Max = XPRS_GENCONS_MAX , Min = XPRS_GENCONS_MIN , And = XPRS_GENCONS_AND , Or = XPRS_GENCONS_OR , Abs = XPRS_GENCONS_ABS } |
| GenConsType enumeration. More... |
|
| enum class | Globalboundingbox : int { NotApplied = XPRS_GLOBALBOUNDINGBOX_NOT_APPLIED , Original = XPRS_GLOBALBOUNDINGBOX_ORIGINAL , Auxiliary = XPRS_GLOBALBOUNDINGBOX_AUXILIARY } |
| Globalboundingbox enumeration. More... |
|
| enum class | GlobalLSHEURStrategy : int { Default = XPRS_GLOBALLSHEURSTRATEGY_DEFAULT , None = XPRS_GLOBALLSHEURSTRATEGY_NONE , Conservative = XPRS_GLOBALLSHEURSTRATEGY_CONSERVATIVE , Moderate = XPRS_GLOBALLSHEURSTRATEGY_MODERATE , Aggressive = XPRS_GLOBALLSHEURSTRATEGY_AGGRESSIVE } |
| GlobalLSHEURStrategy enumeration. More... |
|
| enum class | HeuristicSearchSelect : int { LocalSearchLargeNeighbourhood = XPRS_HEURSEARCH_LOCAL_SEARCH_LARGE_NEIGHBOURHOOD , LocalSearchNodeNeighbourhood = XPRS_HEURSEARCH_LOCAL_SEARCH_NODE_NEIGHBOURHOOD , LocalSearchSolutionNeighbourhood = XPRS_HEURSEARCH_LOCAL_SEARCH_SOLUTION_NEIGHBOURHOOD , LocalSearchCombine = XPRS_HEURSEARCH_LOCAL_SEARCH_COMBINE , LocalSearchZeroObjective = XPRS_HEURSEARCH_LOCAL_SEARCH_ZERO_OBJECTIVE , LocalSearchAuxiliaryObjective = XPRS_HEURSEARCH_LOCAL_SEARCH_AUXILIARY_OBJECTIVE } |
| HeuristicSearchSelect enumeration. More... |
|
| enum class | HeuristicStrategy : int { Automatic = XPRS_HEURSTRATEGY_AUTOMATIC , None = XPRS_HEURSTRATEGY_NONE , Basic = XPRS_HEURSTRATEGY_BASIC , Enhanced = XPRS_HEURSTRATEGY_ENHANCED , Extensive = XPRS_HEURSTRATEGY_EXTENSIVE } |
| HeuristicStrategy enumeration. More... |
|
| enum class | IISOps : int { Binary = XPRS_IISOPS_BINARY , ZeroLower = XPRS_IISOPS_ZEROLOWER , FixedVar = XPRS_IISOPS_FIXEDVAR , Bound = XPRS_IISOPS_BOUND , GenIntegrality = XPRS_IISOPS_GENINTEGRALITY , Integrality = XPRS_IISOPS_INTEGRALITY , Variable = XPRS_IISOPS_VARIABLE , Equality = XPRS_IISOPS_EQUALITY , General = XPRS_IISOPS_GENERAL , PwL = XPRS_IISOPS_PWL , SET = XPRS_IISOPS_SET , Indicator = XPRS_IISOPS_INDICATOR , Delayed = XPRS_IISOPS_DELAYED , Constraint = XPRS_IISOPS_CONSTRAINT } |
| IISOps enumeration. More... |
|
| enum class | IISSolStatus : int { Unstarted = XPRS_IIS_UNSTARTED , Feasible = XPRS_IIS_FEASIBLE , Completed = XPRS_IIS_COMPLETED , Unfinished = XPRS_IIS_UNFINISHED } |
| IISSolStatus enumeration. More... |
|
| enum class | LPFlags : int { Dual = XPRS_LPFLAGS_DUAL , Primal = XPRS_LPFLAGS_PRIMAL , Barrier = XPRS_LPFLAGS_BARRIER , Network = XPRS_LPFLAGS_NETWORK } |
| LPFlags enumeration. More... |
|
| enum class | LPStatus : int { Unstarted = XPRS_LP_UNSTARTED , Optimal = XPRS_LP_OPTIMAL , Infeasible = XPRS_LP_INFEAS , CutOff = XPRS_LP_CUTOFF , Unfinished = XPRS_LP_UNFINISHED , Unbounded = XPRS_LP_UNBOUNDED , CutOffInDual = XPRS_LP_CUTOFF_IN_DUAL , Unsolved = XPRS_LP_UNSOLVED , Nonconvex = XPRS_LP_NONCONVEX } |
| LPStatus enumeration. More... |
|
| enum class | MipPresolve : int { ReducedCostFixing = XPRS_MIPPRESOLVE_REDUCED_COST_FIXING , LogicPreprossessing = XPRS_MIPPRESOLVE_LOGIC_PREPROCESSING , AllowChangeBounds = XPRS_MIPPRESOLVE_ALLOW_CHANGE_BOUNDS , DualReductions = XPRS_MIPPRESOLVE_DUAL_REDUCTIONS , GlobalCoefficientTightening = XPRS_MIPPRESOLVE_GLOBAL_COEFFICIENT_TIGHTENING , ObjectiveBasedReductions = XPRS_MIPPRESOLVE_OBJECTIVE_BASED_REDUCTIONS , AllowTreeRestart = XPRS_MIPPRESOLVE_ALLOW_TREE_RESTART , SymmetryReductions = XPRS_MIPPRESOLVE_SYMMETRY_REDUCTIONS } |
| MipPresolve enumeration. More... |
|
| enum class | MipRestart : int { Default = XPRS_MIPRESTART_DEFAULT , Off = XPRS_MIPRESTART_OFF , Moderate = XPRS_MIPRESTART_MODERATE , Aggressive = XPRS_MIPRESTART_AGGRESSIVE } |
| MipRestart enumeration. More... |
|
| enum class | MIPStatus : int { NotLoaded = XPRS_MIP_NOT_LOADED , LPNotOptimal = XPRS_MIP_LP_NOT_OPTIMAL , LPOptimal = XPRS_MIP_LP_OPTIMAL , NoSolutionFound = XPRS_MIP_NO_SOL_FOUND , Solution = XPRS_MIP_SOLUTION , Infeasible = XPRS_MIP_INFEAS , Optimal = XPRS_MIP_OPTIMAL , Unbounded = XPRS_MIP_UNBOUNDED } |
| MIPStatus enumeration. More... |
|
| enum class | MIPStopStage : int { None = XPRS_MIPSTOPSTAGE_NONE , Presolve = XPRS_MIPSTOPSTAGE_PRESOLVE , PreRootHeurs = XPRS_MIPSTOPSTAGE_PREROOTHEURS , InitialRelaxation = XPRS_MIPSTOPSTAGE_INITIALRELAXATION , RootNode = XPRS_MIPSTOPSTAGE_ROOTNODE } |
| MIPStopStage enumeration. More... |
|
| enum class | MultiObjOps : int { Enabled = XPRS_MULTIOBJOPS_ENABLED , Presolve = XPRS_MULTIOBJOPS_PRESOLVE , RCFixing = XPRS_MULTIOBJOPS_RCFIXING } |
| MultiObjOps enumeration. More... |
|
| enum class | Namespaces : int { Row = XPRS_NAMES_ROW , Column = XPRS_NAMES_COLUMN , Set = XPRS_NAMES_SET , PwlCons = XPRS_NAMES_PWLCONS , GenCons = XPRS_NAMES_GENCONS , Objective = XPRS_NAMES_OBJECTIVE , Userfunc = XPRS_NAMES_USERFUNC , InternalFunc = XPRS_NAMES_INTERNALFUNC , UserFuncNoCase = XPRS_NAMES_USERFUNCNOCASE , InternalFuncNoCase = XPRS_NAMES_INTERNALFUNCNOCASE } |
| Namespaces enumeration. More... |
|
| enum class | NodeSelectionCriteria : int { LocalFirst = XPRS_NODESELECTION_LOCAL_FIRST , BestFirst = XPRS_NODESELECTION_BEST_FIRST , LocalDepthFirst = XPRS_NODESELECTION_LOCAL_DEPTH_FIRST , BestFirstThenLocalFirst = XPRS_NODESELECTION_BEST_FIRST_THEN_LOCAL_FIRST , DepthFirst = XPRS_NODESELECTION_DEPTH_FIRST } |
| NodeSelectionCriteria enumeration. More... |
|
| enum class | ObjControl : int { Priority = XPRS_OBJECTIVE_PRIORITY , Weight = XPRS_OBJECTIVE_WEIGHT , AbsTol = XPRS_OBJECTIVE_ABSTOL , RelTol = XPRS_OBJECTIVE_RELTOL , Rhs = XPRS_OBJECTIVE_RHS } |
| ObjControl enumeration. More... |
|
| enum class | ObjSense : int { Minimize = XPRS_OBJ_MINIMIZE , Maximize = XPRS_OBJ_MAXIMIZE } |
| ObjSense enumeration. More... |
|
| enum class | OnOff : int { Off = XPRS_BOOL_OFF , On = XPRS_BOOL_ON } |
| OnOff enumeration. More... |
|
| enum class | OptimizeType : int { None = XPRS_OPTIMIZETYPE_NONE , Lp = XPRS_OPTIMIZETYPE_LP , Mip = XPRS_OPTIMIZETYPE_MIP , Local = XPRS_OPTIMIZETYPE_LOCAL , Global = XPRS_OPTIMIZETYPE_GLOBAL } |
| OptimizeType enumeration. More... |
|
| enum class | OutputDetail : int { NoOutput = XPRS_OUTPUTLOG_NO_OUTPUT , FullOutput = XPRS_OUTPUTLOG_FULL_OUTPUT , ErrorsAndWarnings = XPRS_OUTPUTLOG_ERRORS_AND_WARNINGS , ErrorsOnly = XPRS_OUTPUTLOG_ERRORS } |
| OutputDetail enumeration. More... |
|
| enum class | ParameterType : int { NotDefined = XPRS_TYPE_NOTDEFINED , Integer = XPRS_TYPE_INT , Integer64 = XPRS_TYPE_INT64 , Double = XPRS_TYPE_DOUBLE , String = XPRS_TYPE_STRING } |
| ParameterType enumeration. More... |
|
| enum class | PreProbing : int { Automatic = XPRS_PREPROBING_AUTOMATIC , Disabled = XPRS_PREPROBING_DISABLED , LightProbing = XPRS_PREPROBING_LIGHT , FullProbing = XPRS_PREPROBING_FULL , FullProbingAndRepeat = XPRS_PREPROBING_FULL_AND_REPEAT } |
| PreProbing enumeration. More... |
|
| enum class | Presolve : int { NoPrimalInfeasibility = XPRS_PRESOLVE_NOPRIMALINFEASIBILITY , None = XPRS_PRESOLVE_NONE , Default = XPRS_PRESOLVE_DEFAULT , KeepRedundantBounds = XPRS_PRESOLVE_KEEPREDUNDANTBOUNDS , RemoveRedundantBounds = XPRS_PRESOLVE_REMOVEREDUNDANTBOUNDS } |
| Presolve enumeration. More... |
|
| enum class | PresolveCoefElim : int { Disabled = XPRS_PRECOEFELIM_DISABLED , Aggressive = XPRS_PRECOEFELIM_AGGRESSIVE , Cautious = XPRS_PRECOEFELIM_CAUTIOUS } |
| PresolveCoefElim enumeration. More... |
|
| enum class | PresolveDomColumn : int { Automatic = XPRS_PREDOMCOL_AUTOMATIC , Disabled = XPRS_PREDOMCOL_DISABLED , Cautious = XPRS_PREDOMCOL_CAUTIOUS , Aggressive = XPRS_PREDOMCOL_AGGRESSIVE , General = XPRS_PREDOMCOL_GENERAL } |
| PresolveDomColumn enumeration. More... |
|
| enum class | PresolveDomRow : int { Automatic = XPRS_PREDOMROW_AUTOMATIC , Disabled = XPRS_PREDOMROW_DISABLED , Cautious = XPRS_PREDOMROW_CAUTIOUS , Medium = XPRS_PREDOMROW_MEDIUM , Aggressive = XPRS_PREDOMROW_AGGRESSIVE } |
| PresolveDomRow enumeration. More... |
|
| enum class | PresolveOperations : int { SingletonColumnRemoval = XPRS_PRESOLVEOPS_SINGLETONCOLUMNREMOVAL , SingletonRowRemoval = XPRS_PRESOLVEOPS_SINGLETONROWREMOVAL , ForcingRowRemoval = XPRS_PRESOLVEOPS_FORCINGROWREMOVAL , DualReductions = XPRS_PRESOLVEOPS_DUALREDUCTIONS , RedundantRowRemoval = XPRS_PRESOLVEOPS_REDUNDANTROWREMOVAL , DuplicateColumnRemoval = XPRS_PRESOLVEOPS_DUPLICATECOLUMNREMOVAL , DuplicateRowRemoval = XPRS_PRESOLVEOPS_DUPLICATEROWREMOVAL , StrongDualReductions = XPRS_PRESOLVEOPS_STRONGDUALREDUCTIONS , VariableEliminations = XPRS_PRESOLVEOPS_VARIABLEELIMINATIONS , NoIPReductions = XPRS_PRESOLVEOPS_NOIPREDUCTIONS , NoGlobalChange = XPRS_PRESOLVEOPS_NOGLOBALDOMAINCHANGE , NoAdvancedIPReductions = XPRS_PRESOLVEOPS_NOADVANCEDIPREDUCTIONS , NoIntegerEliminations = XPRS_PRESOLVEOPS_NOINTEGERELIMINATIONS , NoSolutionEnumeration = XPRS_PRESOLVEOPS_NOSOLUTIONENUMERATION , LinearlyDependantRowRemoval = XPRS_PRESOLVEOPS_LINEARLYDEPENDANTROWREMOVAL , NoIntegerVariableAndSOSDetection = XPRS_PRESOLVEOPS_NOINTEGERVARIABLEANDSOSDETECTION , NoImpliedBounds = XPRS_PRESOLVEOPS_NOIMPLIEDBOUNDS , NoCliquePresolve = XPRS_PRESOLVEOPS_NOCLIQUEPRESOLVE , NoMod2Reductions = XPRS_PRESOLVEOPS_NOMOD2REDUCTIONS , NoDualReductionsOnGlobals = XPRS_PRESOLVEOPS_NODUALREDONGLOBALS } |
| PresolveOperations enumeration. More... |
|
| enum class | PresolveState : int { ProblemLoaded = XPRS_PRESOLVESTATE_PROBLEMLOADED , ProblemLPPresolved = XPRS_PRESOLVESTATE_PROBLEMLPPRESOLVED , ProblemMIPPresolved = XPRS_PRESOLVESTATE_PROBLEMMIPPRESOLVED , SolutionValid = XPRS_PRESOLVESTATE_SOLUTIONVALID } |
| PresolveState enumeration. More... |
|
| enum class | Pricing : int { Partial = XPRS_PRICING_PARTIAL , Default = XPRS_PRICING_DEFAULT , Devex = XPRS_PRICING_DEVEX , SteepestEdge = XPRS_PRICING_STEEPEST_EDGE , SteepestEdgeUnitWeights = XPRS_PRICING_STEEPEST_EDGE_UNIT_WEIGHTS } |
| Pricing enumeration. More... |
|
| enum class | PrimalUnshift : int { AllowDualUnshift = XPRS_PRIMALUNSHIFT_ALLOW_DUAL_UNSHIFT , NoDualUnshift = XPRS_PRIMALUNSHIFT_NO_DUAL_UNSHIFT } |
| PrimalUnshift enumeration. More... |
|
| enum class | QConvexity : int { Unknown = XPRS_QCONVEXITY_UNKNOWN , NonConvex = XPRS_QCONVEXITY_NONCONVEX , Convex = XPRS_QCONVEXITY_CONVEX , Repairable = XPRS_QCONVEXITY_REPAIRABLE , ConvexCone = XPRS_QCONVEXITY_CONVEXCONE , ConeConvertable = XPRS_QCONVEXITY_CONECONVERTABLE } |
| QConvexity enumeration. More... |
|
| enum class | RefineOps : int { LPOptimal = XPRS_REFINEOPS_LPOPTIMAL , MIPSolution = XPRS_REFINEOPS_MIPSOLUTION , LP = XPRS_REFINEOPS_MIPNODELP , LPPresolve = XPRS_REFINEOPS_LPPRESOLVE , IterativeRefiner = XPRS_REFINEOPS_ITERATIVEREFINER , RefinerPrecision = XPRS_REFINEOPS_REFINERPRECISION , RefinerUsePrimal = XPRS_REFINEOPS_REFINERUSEPRIMAL , RefinerUseDual = XPRS_REFINEOPS_REFINERUSEDUAL , MIPfixglobals = XPRS_REFINEOPS_MIPFIXGLOBALS , MIPfixglobalstarget = XPRS_REFINEOPS_MIPFIXGLOBALSTARGET } |
| RefineOps enumeration. More... |
|
| enum class | RepairIndefiniteQuadratic : int { RepairIfPossible = XPRS_REPAIRINDEFINITEQ_REPAIR_IF_POSSIBLE , NoRepair = XPRS_REPAIRINDEFINITEQ_NO_REPAIR } |
| RepairIndefiniteQuadratic enumeration. More... |
|
| enum class | RowFlag : int { Quadratic = XPRS_ROWFLAG_QUADRATIC , Delayed = XPRS_ROWFLAG_DELAYED , ModelCut = XPRS_ROWFLAG_MODELCUT , Indicator = XPRS_ROWFLAG_INDICATOR , Nonlinear = XPRS_ROWFLAG_NONLINEAR } |
| RowFlag enumeration. More... |
|
| enum struct | RowType : char |
| Enumeration for variable/column types. More... |
|
| enum class | Scaling : int { RowScaling = XPRS_SCALING_ROW_SCALING , ColumnScaling = XPRS_SCALING_COLUMN_SCALING , RowScalingAgain = XPRS_SCALING_ROW_SCALING_AGAIN , Maximum = XPRS_SCALING_MAXIMUM , CurtisReid = XPRS_SCALING_CURTIS_REID , ByMaxElemNotGeoMean = XPRS_SCALING_BY_MAX_ELEM_NOT_GEO_MEAN , BigMScaling = XPRS_SCALING_BIGM , SimplexObjectiveScaling = XPRS_SCALING_SIMPLEX_OBJECTIVE_SCALING , IgnoreQuadraticRowPart = XPRS_SCALING_IGNORE_QUADRATIC_ROW_PART , ScaleBeforePresolve = XPRS_SCALING_BEFORE_PRESOLVE , NoScalingRowsUp = XPRS_SCALING_NO_SCALING_ROWS_UP , NoScalingColumnsDown = XPRS_SCALING_NO_SCALING_COLUMNS_DOWN , ObjectiveScaling = XPRS_SCALING_DISABLE_GLOBAL_OBJECTIVE_SCALING , RhsScaling = XPRS_SCALING_RHS_SCALING , NoAggressiveQScaling = XPRS_SCALING_NO_AGGRESSIVE_Q_SCALING , SlackScaling = XPRS_SCALING_SLACK_SCALING , Ruiz = XPRS_SCALING_RUIZ , DogLeg = XPRS_SCALING_DOGLEG , BeforeAfterPresolve = XPRS_SCALING_BEFORE_AND_AFTER_PRESOLVE } |
| Scaling enumeration. More... |
|
| enum class | SDPCutStrategy : int { Default = XPRS_SDPCUTSTRATEGY_DEFAULT , None = XPRS_SDPCUTSTRATEGY_NONE , Conservative = XPRS_SDPCUTSTRATEGY_CONSERVATIVE , Moderate = XPRS_SDPCUTSTRATEGY_MODERATE , Aggressive = XPRS_SDPCUTSTRATEGY_AGGRESSIVE } |
| SDPCutStrategy enumeration. More... |
|
| enum struct | SetType : char |
| Enumeration for set types. More... |
|
| enum class | SolAvailable : int { NotFound = XPRS_SOLAVAILABLE_NOTFOUND , Optimal = XPRS_SOLAVAILABLE_OPTIMAL , Feasible = XPRS_SOLAVAILABLE_FEASIBLE } |
| SolAvailable enumeration. More... |
|
| enum class | SolInfo : int { AbsPrimalInfeas = XPRS_SOLINFO_ABSPRIMALINFEAS , RelPrimalInfeas = XPRS_SOLINFO_RELPRIMALINFEAS , AbsDualInfeas = XPRS_SOLINFO_ABSDUALINFEAS , RelDualInfeas = XPRS_SOLINFO_RELDUALINFEAS , MaxMIPFractional = XPRS_SOLINFO_MAXMIPFRACTIONAL , AbsMIPInfeas = XPRS_SOLINFO_ABSMIPINFEAS , RelMIPInfeas = XPRS_SOLINFO_RELMIPINFEAS } |
| SolInfo enumeration. More... |
|
| enum class | SolStatus : int { NotFound = XPRS_SOLSTATUS_NOTFOUND , Optimal = XPRS_SOLSTATUS_OPTIMAL , Feasible = XPRS_SOLSTATUS_FEASIBLE , Infeasible = XPRS_SOLSTATUS_INFEASIBLE , Unbounded = XPRS_SOLSTATUS_UNBOUNDED } |
| SolStatus enumeration. More... |
|
| enum class | SolveStatus : int { Unstarted = XPRS_SOLVESTATUS_UNSTARTED , Stopped = XPRS_SOLVESTATUS_STOPPED , Failed = XPRS_SOLVESTATUS_FAILED , Completed = XPRS_SOLVESTATUS_COMPLETED } |
| SolveStatus enumeration. More... |
|
| enum class | StopType : int { None = XPRS_STOP_NONE , TimeLimit = XPRS_STOP_TIMELIMIT , CtrlC = XPRS_STOP_CTRLC , NodeLimit = XPRS_STOP_NODELIMIT , IterLimit = XPRS_STOP_ITERLIMIT , MIPGap = XPRS_STOP_MIPGAP , SolLimit = XPRS_STOP_SOLLIMIT , GenericError = XPRS_STOP_GENERICERROR , MemoryError = XPRS_STOP_MEMORYERROR , User = XPRS_STOP_USER , SolveComplete = XPRS_STOP_SOLVECOMPLETE , LicenseLost = XPRS_STOP_LICENSELOST , NumericalError = XPRS_STOP_NUMERICALERROR , WorkLimit = XPRS_STOP_WORKLIMIT , NextObjective = XPRS_STOP_NEXTOBJECTIVE , MIPStage = XPRS_STOP_MIPSTAGE } |
| StopType enumeration. More... |
|
| enum class | TreeDiagnostics : int { MemoryUsageSummaries = XPRS_TREEDIAGNOSTICS_MEMORY_USAGE_SUMMARIES , MemorySavedReports = XPRS_TREEDIAGNOSTICS_MEMORY_SAVED_REPORTS , MemorySavingLog = XPRS_TREEDIAGNOSTICS_MEMORY_SAVING_LOG } |
| TreeDiagnostics enumeration. More... |
|
| enum class | TunerHistory : int { Ignore = XPRS_TUNERHISTORY_IGNORE , Append = XPRS_TUNERHISTORY_APPEND , Reuse = XPRS_TUNERHISTORY_REUSE } |
| TunerHistory enumeration. More... |
|
| enum class | TunerMethod : int { Automatic = XPRS_TUNERMETHOD_AUTOMATIC , LpQuick = XPRS_TUNERMETHOD_LPQUICK , MipQuick = XPRS_TUNERMETHOD_MIPQUICK , MipComprehensive = XPRS_TUNERMETHOD_MIPCOMPREHENSIVE , MipRootFocus = XPRS_TUNERMETHOD_MIPROOTFOCUS , MipTreeFocus = XPRS_TUNERMETHOD_MIPTREEFOCUS , MipSimple = XPRS_TUNERMETHOD_MIPSIMPLE , SlpQuick = XPRS_TUNERMETHOD_SLPQUICK , MiSlpQuick = XPRS_TUNERMETHOD_MISLPQUICK , MipHeuristics = XPRS_TUNERMETHOD_MIPHEURISTICS , GlobalQuick = XPRS_TUNERMETHOD_GLOBALQUICK , LpNumerics = XPRS_TUNERMETHOD_LPNUMERICS } |
| TunerMethod enumeration. More... |
|
| enum class | TunerMode : int { Automatic = XPRS_TUNERMODE_AUTOMATIC , Off = XPRS_TUNERMODE_OFF , On = XPRS_TUNERMODE_ON } |
| TunerMode enumeration. More... |
|
| enum class | TunerRootAlg : int { Dual = XPRS_TUNERROOTALG_DUAL , Primal = XPRS_TUNERROOTALG_PRIMAL , Barrier = XPRS_TUNERROOTALG_BARRIER , Network = XPRS_TUNERROOTALG_NETWORK } |
| TunerRootAlg enumeration. More... |
|
| enum class | TunerTarget : int { Automatic = XPRS_TUNERTARGET_AUTOMATIC , TimeGap = XPRS_TUNERTARGET_TIMEGAP , TimeBound = XPRS_TUNERTARGET_TIMEBOUND , TimeObjval = XPRS_TUNERTARGET_TIMEOBJVAL , Integral = XPRS_TUNERTARGET_INTEGRAL , SlpTime = XPRS_TUNERTARGET_SLPTIME , SlpObjval = XPRS_TUNERTARGET_SLPOBJVAL , SlpValidation = XPRS_TUNERTARGET_SLPVALIDATION , Gap = XPRS_TUNERTARGET_GAP , Bound = XPRS_TUNERTARGET_BOUND , Objval = XPRS_TUNERTARGET_OBJVAL , PrimalIntegral = XPRS_TUNERTARGET_PRIMALINTEGRAL } |
| TunerTarget enumeration. More... |
|
| enum class | UserSolStatus : int { NotChecked = XPRS_USERSOLSTATUS_NOT_CHECKED , AcceptedFeasible = XPRS_USERSOLSTATUS_ACCEPTED_FEASIBLE , AcceptedOptimized = XPRS_USERSOLSTATUS_ACCEPTED_OPTIMIZED , SearchedSol = XPRS_USERSOLSTATUS_SEARCHED_SOL , SearchedNoSol = XPRS_USERSOLSTATUS_SEARCHED_NOSOL , RejectedInfeasNoSearch = XPRS_USERSOLSTATUS_REJECTED_INFEAS_NOSEARCH , RejectedPartialNoSearch = XPRS_USERSOLSTATUS_REJECTED_PARTIAL_NOSEARCH , RejectedFailedOptimize = XPRS_USERSOLSTATUS_REJECTED_FAILED_OPTIMIZE , Dropped = XPRS_USERSOLSTATUS_DROPPED , RejectedCutoff = XPRS_USERSOLSTATUS_REJECTED_CUTOFF } |
| UserSolStatus enumeration. More... |
|
| enum class | VariableSelection : int { Automatic = XPRS_VARSELECTION_AUTOMATIC , MinimumUpDownPseudoCosts = XPRS_VARSELECTION_MIN_UPDOWN_PSEUDO_COSTS , SumupDownPseudoCosts = XPRS_VARSELECTION_SUM_UPDOWN_PSEUDO_COSTS , MaximumUpDownPseudoCostsPlusTwiceMinimum = XPRS_VARSELECTION_MAX_UPDOWN_PSEUDO_COSTS_PLUS_TWICE_MIN , MaximumUpDownPseudoCosts = XPRS_VARSELECTION_MAX_UPDOWN_PSEUDO_COSTS , DownPseudoCost = XPRS_VARSELECTION_DOWN_PSEUDO_COST , UpPseudoCost = XPRS_VARSELECTION_UP_PSEUDO_COST , WeightedCombinationUpDownPseudoCost = XPRS_VARSELECTION_WEIGHTED_COMBINATION_UPDOWN_PSEUDO_COST , ProductUpDownPseudoCost = XPRS_VARSELECTION_PRODUCT_UPDOWN_PSEUDO_COST } |
| VariableSelection enumeration. More... |
|
Functions |
|
| template<typename T , typename I > | |
| auto | copyOfArray (std::vector< T > const &s, I const &len) -> std::vector< typename std::remove_const< T >::type > |
| Create a copy of an array. |
|
| template<typename... T> | |
| auto | format (std::string const &format, T... args) -> std::string |
| Formatted printing to a string. |
|
| template<typename T , typename... D> | |
| auto | makeArray (D... dims) -> typename MakeArray< T, sizeof...(D)>::array_type |
| Create a D-dimensional array with values of type T. |
|
| template<typename T , typename... Args> | |
| auto | packToArray (Args &&...args) -> std::vector< T > |
| Convert a parameter pack into an array. |
|
| int | toInt (int t) |
Cast t to int and raise an exception if it does not fit. |
|
| template<typename T > | |
| auto | toInt (T t) -> typename std::enable_if<!std::numeric_limits< T >::is_signed, int >::type |
Cast t to int and raise an exception if it does not fit. |
|
Detailed Description
The namespace that contains all functions, constants, etc of the Xpress Solver.
- Since
- 44.00
Enumeration Type Documentation
AllowCompute
|
strong |
AlwaysNeverAutomatic
|
strong |
BacktrackAlg
|
strong |
BacktrackAlg enumeration.
BARHGOps
|
strong |
BARHGOps enumeration.
BarHGPrecision
|
strong |
BarOrder
|
strong |
BarPresolveOps
|
strong |
BasisStatus
|
strong |
BranchChoice
|
strong |
CholeskyAlgorithm
|
strong |
Clamping
|
strong |
ColumnType
|
strong |
Enumeration for variable/column types.
- Since
- 44.00
ComputeLog
|
strong |
CrossoverDynamicReduction
|
strong |
CutSelect
|
strong |
CutSelect enumeration.
CutStrategy
|
strong |
DefaultAlg
|
strong |
DualGradient
|
strong |
DualizeOps
|
strong |
DualStrategy
|
strong |
FeasibilityPump
|
strong |
GenConsType
|
strong |
Globalboundingbox
|
strong |
GlobalLSHEURStrategy
|
strong |
HeuristicSearchSelect
|
strong |
HeuristicSearchSelect enumeration.
HeuristicStrategy
|
strong |
IISOps
|
strong |
IISOps enumeration.
IISSolStatus
|
strong |
LPFlags
|
strong |
LPStatus
|
strong |
MipPresolve
|
strong |
MipPresolve enumeration.
MipRestart
|
strong |
MIPStatus
|
strong |
MIPStopStage
|
strong |
MultiObjOps
|
strong |
Namespaces
|
strong |
Namespaces enumeration.
NodeSelectionCriteria
|
strong |
ObjControl
|
strong |
ObjSense
|
strong |
OnOff
|
strong |
OptimizeType
|
strong |
OutputDetail
|
strong |
ParameterType
|
strong |
PreProbing
|
strong |
Presolve
|
strong |
PresolveCoefElim
|
strong |
PresolveDomColumn
|
strong |
PresolveDomRow
|
strong |
PresolveOperations
|
strong |
PresolveOperations enumeration.
PresolveState
|
strong |
Pricing
|
strong |
PrimalUnshift
|
strong |
QConvexity
|
strong |
RefineOps
|
strong |
RefineOps enumeration.
RepairIndefiniteQuadratic
|
strong |
RowFlag
|
strong |
RowType
|
strong |
Enumeration for variable/column types.
- Since
- 44.00
Scaling
|
strong |
Scaling enumeration.
SDPCutStrategy
|
strong |
SetType
|
strong |
Enumeration for set types.
- Since
- 43.00
- 44.00
SolAvailable
|
strong |
SolInfo
|
strong |
SolInfo enumeration.
SolStatus
|
strong |
SolveStatus
|
strong |
StopType
|
strong |
StopType enumeration.
TreeDiagnostics
|
strong |
TunerHistory
|
strong |
TunerMethod
|
strong |
TunerMethod enumeration.
TunerMode
|
strong |
TunerRootAlg
|
strong |
TunerTarget
|
strong |
TunerTarget enumeration.
UserSolStatus
|
strong |
UserSolStatus enumeration.
VariableSelection
|
strong |
VariableSelection enumeration.
Function Documentation
copyOfArray()
| auto xpress::copyOfArray | ( | std::vector< T > const & | s, |
| I const & | len ) -> std::vector<typename std::remove_const<T>::type> |
Create a copy of an array.
- Parameters
-
s Source array. len Number of elements to copy.
- Returns
- The specified copy.
- Since
- 44.00
format()
| auto xpress::format | ( | std::string const & | format, |
| T... | args ) -> std::string |
Formatted printing to a string.
Creates a string based on the printf-like formatting string format and the subsequent arguments.
Note: If you have C++20 available consider using std::format instead.
- Parameters
-
format The format string. args Arguments for format.
- Returns
-
The string described by
formatand subsequent arguments.
- Since
- 44.00
makeArray()
| auto xpress::makeArray | ( | D... | dims | ) | -> typename MakeArray<T, sizeof...(D)>::array_type |
Create a D-dimensional array with values of type T.
The dimensions of the array to be created are given by the argument in dims.
- Since
- 44.00
packToArray()
| auto xpress::packToArray | ( | Args &&... | args | ) | -> std::vector<T> |
Convert a parameter pack into an array.
- Parameters
-
args The parameter pack.
- Returns
-
The values from
argscopied into avector.
- Since
- 44.00
toInt() [1/2]
|
inline |
Cast t to int and raise an exception if it does not fit.
Specialization of template for int.
- Since
- 44.00
toInt() [2/2]
|
inline |
Cast t to int and raise an exception if it does not fit.
Specialization of template for unsigned types.
- Since
- 44.00
© 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.
