class LinProg::SymbolProblem

Defined in:

linprog/problem.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def constraints : Array(LinProg::Constraint) #

[View source]
def create_var(*args, **named_args) #

[View source]
def maximize(objective) #

[View source]
def minimize(objective : LinProg::LinearCombination | Nil) #

[View source]
def objective : LinearCombination | Nil #

[View source]
def objective=(objective : LinearCombination | Nil) #

[View source]
def solve #

[View source]
def st(c : Constraint) #

[View source]
def var_value(var) #

[View source]
def vars : Array(LinProg::Variable) #

[View source]