BeeEncoder.BeeBool
— TypeA boolean variable in BEE syntax
BeeEncoder.BeeInt
— TypeAn integer variable in BEE syntax
BeeEncoder.beebool
— MethodCreate a boolean varaible called name
in model
BeeEncoder.beebool
— MethodCreate a boolean varaible called name
in GBL_MODEL
BeeEncoder.beeint
— MethodCreate an integer varaible called name
in GBL_MODEL
BeeEncoder.beeint
— MethodCreate an integer varaible called name
in GBL_MODEL
BeeEncoder.constrain
— Methodconstrain(model, cons)
Add the cons
to model
. Note that unlike a variable, a constraint is not automatically added to any model when it is created.
BeeEncoder.fetchbool
— MethodEither create or retrive an existing boolean variable called name
in GBL_MODEL
BeeEncoder.fetchbool
— MethodEither create or retrive an existing boolean variable called name
in model
BeeEncoder.getbool
— MethodRetrive an existing boolean variable called name
in GBL_MODEL
BeeEncoder.getbool
— MethodRetrive an existing boolean variable called name
in GBL_MODEL
BeeEncoder.getint
— MethodRetrive an existing integer variable called name
in GBL_MODEL
BeeEncoder.getint
— MethodRetrive an existing integer variable called name
in GBL_MODEL
BeeEncoder.hasbool
— MethodCheck if the model has a bollean variable called name
in GBL_MODEL
BeeEncoder.hasbool
— MethodCheck if the model has a bollean variable called name
in model
BeeEncoder.hasint
— MethodCheck if the model has a integer variable called name
in GBL_MODEL
BeeEncoder.hasint
— MethodCheck if the model has a integer variable called name
in model
BeeEncoder.hasvar
— MethodCheck if the model has a variable called name
BeeEncoder.render
— Methodrender(obj::BeeObject)
Render obj
to BEE syntax and print it to stdout
.
BeeEncoder.render
— Methodrender(io, cons)
Render cons
to BEE syntax. For constraints, there's is no difference between how they are rendered and printed.
BeeEncoder.render
— MethodRender the global model GBL_MODEL
to BEE syntax and print it to io
.
BeeEncoder.render
— MethodRender the global model GBL_MODEL
to BEE syntax and print it to stdout
.
BeeEncoder.reset
— MethodDelete all variables and constraints from the default model.
BeeEncoder.solve
— FunctionCall BumbleBEE
to solve the model
and print the output into io
BeeEncoder.solve
— MethodSolve the default model and print the solution to stdout
.
BeeEncoder.BeeBoolLiteral
— TypeA boolean value, i.e., true
or false
BeeEncoder.BeeExpression
— TypeAn expression can be made part of a BeeObject
, but they themselves cannot be rendered.
BeeEncoder.BeeIntLiteral
— TypeAn integer value like 1
BeeEncoder.BeeNegateBool
— TypeThe negate of a boolean variable in BEE syntax
BeeEncoder.BeeObject
— TypeAn object that can be rendered to BEE syntax
BeeEncoder.BeeSymbol
— TypeA symbol in BEE sytanx. Can be either a variable or a value.
Base.in
— MethodReload in
to allow checking if a BeeSymbol
is in an array
Base.isequal
— MethodReload isequal
to allow using BeeSymbol
comparing them for Dict
.