DomainViolation {gamstransfer} | R Documentation |
DomainViolation Class
Description
Contains information about the domain violation for a symbol. Please visit https://www.gams.com/latest/docs/API_R_GAMSTRANSFER.html for detailed documentation of this package.
Fields
symbol
symbol name
dimension
dimension in which domain violation is present
domain
domain name
violations
vector of violations
Examples
m = Container$new()
i = Set$new(m, "i", records=paste0("i", 1:5))
p = Parameter$new(m, "p", i, records=data.frame(i=c("i1","i3","i6"), value=c(1,5,7)))
dv = p$getDomainViolations()[[1]]
sym_dv = dv$symbol
dim_dv = dv$dimension
domain_dv = dv$domain
violation_dv = dv$violations
[Package gamstransfer version 3.0.3 Index]