package ocplib-simplex

  1. Overview
  2. Docs

Interface required for variables

type t

type of variables used in the simplex

val compare : t -> t -> int

compare function on vars

val is_int : t -> bool

is_int v returns true if the variable has integer type, and false otherwise

val print : Format.formatter -> t -> unit

print fmt v prints the given var

OCaml

Innovation. Community. Security.