package ommx.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Bound

decision_variables.proto:6

Upper and lower bound of the decision variable.

Used in: DecisionVariable

message Constraint

constraint.proto:14

Used in: Instance, ParametricInstance, RemovedConstraint

message ConstraintHints

constraint_hints.proto:10

A constraint hint is an additional inforomation to be used by solver to gain performance. They are derived from one-or-more constraints in the instance and typically contains information of special types of constraints (e.g. one-hot, SOS, ...).

Used in: Instance, ParametricInstance

message DecisionVariable

decision_variables.proto:16

Decison variable which mathematical programming solver will optimize. It must have its kind, i.e. binary, integer, real or others and unique identifier of 64-bit integer. It may have its name and subscripts which are used to identify in modeling tools.

Used in: Instance, ParametricInstance, SampledDecisionVariable, Solution

enum DecisionVariable.Kind

decision_variables.proto:23

Kind of the decision variable

Used in: DecisionVariable

enum Equality

constraint.proto:8

Equality of a constraint.

Used in: Constraint, EvaluatedConstraint, SampledConstraint

message EvaluatedConstraint

constraint.proto:54

A constraint evaluated with a state

Used in: Solution

message EvaluatedNamedFunction

named_function.proto:44

A named function evaluated with a state

Used in: Solution

message Function

function.proto:10

Real-valued multivariate function used for objective function and constraints.

Used in: Constraint, Instance, NamedFunction, ParametricInstance

message Infeasible

solution.proto:98

The solver proved that the problem is infeasible.

TODO: Add more information about the infeasibility.

Used in: Result

(message has no fields)

message Instance

instance.proto:16

message Instance.Description

instance.proto:17

Used in: Instance, ParametricInstance

enum Instance.Sense

instance.proto:49

The sense of this instance

Used in: Instance, ParametricInstance, SampleSet, Solution

message Linear

linear.proto:5

Used in: Function, Quadratic

message Linear.Term

linear.proto:6

Used in: Linear

message Monomial

polynomial.proto:6

A monomial in a multivariate polynomial.

Used in: Polynomial

message NamedFunction

named_function.proto:8

Named Function

Used in: Instance, ParametricInstance

message OneHot

one_hot.proto:6

A message representing a one-hot constraint.

Used in: ConstraintHints

enum Optimality

solution.proto:17

Used in: Solution

message Parameter

parametric_instance.proto:13

Placeholder of a parameter in a parametrized optimization problem

Used in: ParametricInstance

message Parameters

instance.proto:12

A set of parameters for instantiating an optimization problem from a parametric instance

Used in: Instance

message ParametricInstance

parametric_instance.proto:35

Optimization problem including parameter, variables varying while solving the problem like penalty weights or dual variables. These parameters are not decision variables.

message Polynomial

polynomial.proto:12

Multi­variate polynomial

Used in: Function

message ProcessMetadata

solution.proto:34

Metadata for an optimization or sampling process that produced a Solution or SampleSet.

Used in: SampleSet, Solution

message Quadratic

quadratic.proto:26

Quadratic function as a COO-style sparse matrix and linear sparse vector. COOrdinate format, also known as triplet format, is a way to represent sparse matrices as a list of non-zero elements. It consists of three lists: the row indices, the column indices, and the values of the non-zero elements with following constraints: - Entries and coordinates sorted by row, then column. - There are no duplicate entries (i.e. duplicate (i,j) locations) - Data arrays MAY have explicit zeros. Note that this matrix is not assured to be symmetric nor upper triangular. For example, a quadratic function `x1^2 + x2^2 + 2x1*x2` can be represented as: - `{ rows: [0, 0, 1], columns: [0, 1, 1], values: [1, 2, 1] }`, i.e. an upper triangular matrix `[[1, 2], [0, 1]` - `{ rows: [0, 0, 1, 1], columns: [0, 1, 0, 1], values: [1, 1, 1, 1] }`, i.e. a symmetric matrix `[[1, 1], [1, 1]]` or even a non-symmetric, non-trianglar matrix as `x1^2 + 3x1*x2 - x2*x1 + x2^2`: - `{ rows: [0, 0, 1, 1], columns: [0, 1, 0, 1], values: [1, 3, -1, 1] }`, i.e. a non-symmetric matrix `[[1, 3], [-1, 1]]`

Used in: Function

enum Relaxation

solution.proto:26

Used in: Solution

message RemovedConstraint

constraint.proto:93

Used in: Instance, ParametricInstance

message Result

solution.proto:107

message SOS1

sos1.proto:8

A message representing a [Spcial Ordered Set constraint of Type 1](https://en.wikipedia.org/wiki/Special_ordered_set#Types) (SOS1). SOS1 constraint on non-negative variables x_1, ..., x_n requires that at most one of x_i can be non-zero.

Used in: ConstraintHints

message SampleSet

sample_set.proto:109

Output of the sampling process.

message SampledConstraint

sample_set.proto:46

Evaluated constraint for samples

Used in: SampleSet

message SampledDecisionVariable

sample_set.proto:38

A pair of decision variable description and its sampled values

Used in: SampleSet

message SampledNamedFunction

sample_set.proto:85

Evaluated named function for samples

Used in: SampleSet

message SampledValues

sample_set.proto:26

A map from sample IDs to sampled values

Used in: SampleSet, SampledConstraint, SampledDecisionVariable, SampledNamedFunction

message SampledValues.SampledValuesEntry

sample_set.proto:29

Compressed sampled values, but uncompressed state is also valid. The reader should not assume that every states are distinct.

Used in: SampledValues

message Samples

sample_set.proto:11

A map from sample ID to state

message Samples.SamplesEntry

sample_set.proto:16

Sampling processes are likely to generate same samples multiple times. We compress the same samples into one entry. Note that uncompressed state is also valid. The reader should not assume that every states are distinct.

Used in: Samples

message Solution

solution.proto:48

Solution with evaluated objective and constraints

Used in: Result

message State

solution.proto:12

A set of values of decision variables, without any evaluation, even the feasiblity of the solution.

Used in: Samples.SamplesEntry, Solution

message Unbounded

solution.proto:103

The solver proved that the problem is unbounded.

TODO: Add more information about the unboundedness.

Used in: Result

(message has no fields)