Module: Cbc::FFI

Extended by:
Fiddle::Importer
Defined in:
lib/cbc/ffi.rb

Constant Summary collapse

OBJ_SENSE =
{
  minimize: 1,
  ignore: 0,
  maximize: -1
}
STATUS =
{
  -1 => :not_started,
  0 => :finished,
  1 => :stopped,
  2 => :abandoned,
  5 => :interrupted
}
SECONDARY_STATUS =
{
  -1 => :unset,
  0 => :completed,
  1 => :infeasible,
  2 => :stopped_gap,
  3 => :stopped_nodes,
  4 => :stopped_time,
  5 => :stopped_user,
  6 => :stopped_solutions,
  7 => :unbounded,
  8 => :stopped_iterations
}