Functions and procedures



abs, ceil, floor
non-linear stochastic functions
getdual, getdualatnode, getdualinscen
obtain dual
getobjval
obtain objective value
getrcost, getrcostatnode, getrcostinscen
obtain reduced cost
getslack, getslackatnode, getslackinscen
obtain slack
getsol, getsolatnode, getsolinscen
obtain solution
maximize, minimize
optimize current SP
maximum, minimum
get max/min of stochastic enetities
spaddchildren
create scenario tree structure node by node
spaggregate
aggregate scenario(s)
spcreatetree
create scenario tree structure
spdelscen
delete scenario(s)
speval
evaluate stochastic entity
spexportprob
export stocahstic problem
spfix
fix a stochastic variable
spgenexh
generate exhaustive scenario tree
spgentree
generate scenario tree
spgetchild
get a childe of a node
spgetchildrencount
get number of children of a node
spgetnodecount
get number of nodes
spgetobjconst
constant term in the objective
spgetparent
get parent node number
spgetprobcond
get conditional probability
spgetprobscen
get probability of a scenario
spgetprobuncond
get unconditional probability
spgetscencount
get scenario count
spif
stochastic conditional functions
spprinttree
print current scenario tree
spsetdist
set discretized distribution of stochastic random element
spsethidden
hide or unhide a stochastic linear constraint
spsetname
set name of stochastic entity
spsetprobcond, spsetrand
set conditional probabilities
spsetprobcondatnode, spsetrandatnode
set conditional probabilities
spsetprobscen
set scenario probabilities
spsetstage
associate stochastic entities with stages
spsetstages
set stages of stochastic problem
spsettype
set type of a stochastic constraint
spunfix
unfix a stochastic variable


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.