class LinProg::Problem

Defined in:

linprog/problem.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(*, vars, constraints, id_to_index, obj) #

[View source]

Class Method Detail

def self.from_dense(*, c, a_ub, b_ub, a_eq, b_eq, bounds : Bound | Indexable(Bound) | Nil = nil) #

[View source]
def self.from_dense(*, c, a_eq, b_eq, bounds = nil) #

[View source]
def self.from_dense(*, c, a_ub, b_ub, bounds = nil) #

[View source]

Instance Method Detail

def collb : Slice(Float64) #

[View source]
def colub : Slice(Float64) #

[View source]
def correct : Bool #

[View source]
def is_int : Slice(UInt8) #

[View source]
def ncolumns : Int32 #

[View source]
def nrows : Int32 #

[View source]
def obj : Slice(Float64) #

[View source]
def obj2 : Slice(Float64) #

[View source]
def rowrhs : Slice(Float64) #

[View source]
def rowrng : Slice(Float64) #

[View source]
def rowsen : Slice(UInt8) #

[View source]
def sparse_indices : Slice(Int32) #

[View source]
def sparse_starts : Slice(Int32) #

[View source]
def sparse_values : Slice(Float64) #

[View source]