Optex.Var (Optex v0.1.0)

Copy Markdown View Source

A decision variable. Created by the model, carries its own id.

Summary

Types

bound()

@type bound() :: number() | :infinity | :neg_infinity

t()

@type t() :: %Optex.Var{
  id: non_neg_integer(),
  lb: bound(),
  name: term(),
  type: :cont | :int | :bin,
  ub: bound()
}