Learn R Programming

sybil (version 2.0.0)

checksol-class: Structure of the Class "checksol"

Description

Structure of the class "checksol". Objects of that class are returned by the function checkOptSol.

Arguments

Objects from the Class

Objects can be created by calls of the form new("checksol").

Slots

exit_code:

Object of class "integer" containing the exit code of the lp solver.

exit_num:

Object of class "integer" containing the number of appearance of a specific exit code.

exit_meaning:

Object of class "character" containing the meaning of the exit code.

num_of_prob:

Object of class "integer" indicating the number of optimization problems.

status_code:

Object of class "integer" containing the solution status of the lp problem.

status_num:

Object of class "integer" containing the number of appearance of a specific solution status.

status_meaning:

Object of class "character" containing the meaning of the solution status.

Methods

exit_code<-:

signature(object = "checksol"): sets the exit_code slot.

exit_code:

signature(object = "checksol"): gets the exit_code slot.

exit_meaning<-:

signature(object = "checksol"): sets the exit_meaning slot.

exit_meaning:

signature(object = "checksol"): gets the exit_meaning slot.

exit_num<-:

signature(object = "checksol"): sets the exit_num slot.

exit_num:

signature(object = "checksol"): gets the exit_num slot.

num_of_prob<-:

signature(object = "optsol"): sets the num_of_prob slot.

num_of_prob:

signature(object = "optsol"): gets the num_of_prob slot.

show:

signature(object = "checksol"): prints some details specific to the instance of class checksol.

status_code<-:

signature(object = "checksol"): sets the status_code slot.

status_code:

signature(object = "checksol"): gets the status_code slot.

status_meaning<-:

signature(object = "checksol"): sets the status_meaning slot.

status_meaning:

signature(object = "checksol"): gets the status_meaning slot.

status_num<-:

signature(object = "checksol"): sets the status_num slot.

status_num:

signature(object = "checksol"): gets the status_num slot.

See Also

checkOptSol

Examples

Run this code
# NOT RUN {
  showClass("checksol")
# }

Run the code above in your browser using DataLab