Description Super class Public fields Active bindings Methods
specify whether the optimization problem is a satisfaction, minimization or maximization problem and/or expression to maximize/minnimize and/or annotation
rminizinc::Item -> SolveItem
.ethe expression to maximize or minimize
.stthe solve type
.annannotation of the solve type
.delete_flagused to delete items
.ethe expression to maximize or minimize
.stthe solve type
.annannotation of the solve type
.delete_flagused to delete items
new()create an instance of specify_problem class
SolveItem$new(solve_type = NULL, e = NULL, ann = NULL, mzn_str = NULL)
solve_typesatisfy, minimize or maximize
eexpression to minimize or maximize
annannotation
mzn_strstring representation of Solve Item
getExp()get the expression (or NULL)
SolveItem$getExp()
getAnn()get the annotation (or NULL)
SolveItem$getAnn()
setExp()set the expression
SolveItem$setExp(e)
eexpression
setAnn()set the annotation
SolveItem$setAnn(ann)
annannotation or Null
getSt()get the solve type/objective
SolveItem$getSt()
setSt()set the solve type/objective
SolveItem$setSt(objective)
objectivesolve type
c_str()to string method
SolveItem$c_str()
getDeleteFlag()delete flag for internal use
SolveItem$getDeleteFlag()
delete()delete the variable item
SolveItem$delete()
clone()The objects of this class are cloneable with this method.
SolveItem$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.