ommx#
Classes
Name |
Description |
|---|---|
Attached constraint — a write-through handle bound to a host |
|
Attached decision variable — a write-through handle bound to a host |
|
Attached indicator constraint — a write-through handle bound to a host |
|
Attached one-hot constraint — a write-through handle bound to a host |
|
Attached SOS1 constraint — a write-through handle bound to a host |
|
Reduce powers of active Binary variables during Preparation. |
|
Variable bound wrapper for Python |
|
An OMMX bridge protocol, registration, or transfer failure after loading the SDK. |
|
Constraint wrapper for Python. |
|
Live, read-only mapping of all active constraint families in a model. |
|
Live, read-only mapping of one constraint family, created by `of_kind`. |
|
A regular constraint ID. Unequal to integers and IDs of other constraint families. |
|
Common base of constraint IDs, including families introduced by future SDKs. |
|
An extensible constraint family selector. Use Regular, Indicator, OneHot or Sos1; keep a rejecting f… |
|
Common metadata interface for rows fetched from constraint collections. |
|
Decision variable in an optimization problem. |
|
How a decision variable obtains its value in an {class}~ommx.Instance. |
|
Equality type for constraints |
|
Live mapping of a Solution’s constraint results, including retained removed rows. |
|
An owned evaluated indicator result. Fetched by typed ID from the owning result’s constraints collec… |
|
EvaluatedNamedFunction wrapper for Python. |
|
An owned evaluated one-hot result. Fetched by typed ID from the owning result’s constraints collecti… |
|
An owned evaluated SOS1 result. Fetched by typed ID from the owning result’s constraints collection. |
|
Exact integer-slack conversion is unavailable for the requested inequality. |
|
Selection for the fixed-weight penalty Preparation phase. |
|
A scalar expression used in optimization objectives and constraint bodies. |
|
A condition enforced when a controlling Binary variable equals one. |
|
An indicator constraint ID. Unequal to integers and IDs of other constraint families. |
|
The mathematical model was proven infeasible. |
|
An optimization problem with variable domains, an objective, and constraints. |
|
A set of exact {class}~ommx.Instance representations, used for inspection and |
|
One conjunctive clause in an :class:InstanceClass. |
|
Membership result for one conjunctive instance-class clause. |
|
Side-effect-free membership report for an :class:InstanceClass. |
|
One structured reason an instance is outside a complete clause. |
|
Selection for the used-Integer encoding Preparation phase. |
|
Integer-slack Preparation for active regular inequalities. |
|
Numeric scalar decision-variable domain kind. |
|
Linear function of decision variables. |
|
An exact log encoding is unavailable for one requested decision variable. |
|
A labeled expression for reporting a candidate’s additional metrics. |
|
Selection for the active-objective Preparation phase. |
|
Require exactly one member of a nonempty set of Binary variables to equal one. |
|
A one-hot constraint ID. Unequal to integers and IDs of other constraint families. |
|
Optimality status of a solution |
|
Read-only objective semantics used when evaluating solver output. |
|
A symbolic numerical input to a fixed-structure optimization problem. |
|
A family of optimization problems with fixed variables and constraints. |
|
Polynomial function of decision variables. |
|
Polynomial requirement for one function position in an |
|
Select optional transformations applied by {meth}~ommx.Instance.prepare. |
|
Configured Preparation phases were exhausted without reaching the target InstanceClass. |
|
One step in a regular constraint’s transformation history. |
|
Source constraint family. Additional provenance families may be added. |
|
Quadratic function of decision variables. |
|
Relaxation status of a solution |
|
RemovedConstraint wrapper for Python. |
|
Live mapping of all retained removed constraint families in a model. |
|
A removed indicator constraint together with the reason it was removed. |
|
A removed one-hot constraint together with the reason it was removed. |
|
A removed SOS1 constraint together with the reason it was removed. |
|
Multiple candidates evaluated against the same optimization problem. |
|
Live mapping of a SampleSet’s constraint results, including retained removed rows. |
|
An owned sampled indicator result. Fetched by typed ID from the owning result’s constraints collecti… |
|
SampledNamedFunction wrapper for Python. |
|
An owned sampled one-hot result. Fetched by typed ID from the owning result’s constraints collection… |
|
An owned sampled SOS1 result. Fetched by typed ID from the owning result’s constraints collection. |
|
Multiple candidate assignments, each identified by a sample ID. |
|
Sense of optimization (minimize or maximize) |
|
A candidate evaluated against a particular optimization problem. |
|
Read-only report for an entire SOS1 Big-M promotion batch. |
|
One or more requests in a strict SOS1 Big-M promotion batch were rejected. |
|
Untrusted stable-ID request for a batch of SOS1 Big-M promotions. |
|
Unchecked selector-role claim for one member of an SOS1 Big-M formulation. |
|
A Special Ordered Set type 1: at most one member may be nonzero. |
|
An SOS1 constraint ID. Unequal to integers and IDs of other constraint families. |
|
Selection for the special-constraint Preparation phase. |
|
A candidate assignment from integer decision-variable IDs to numeric values. |
Functions
Name |
Description |
|---|---|
Type Aliases
Name |
Description |
|---|---|
Decision-variable values grouped by name and tuple subscripts. Use () for scalars and (i,) for one-d… |
|
A variable ID or decision-variable object. APIs using this type consume only the OMMX variable ident… |