R/status_codes.R

Defines functions add_status_codes

.add_status_codes <- function() {
    solver <- ROI_plugin_get_solver_name( getPackageName() )

    ##' ----------------------
    ##' Termination - Codes
    ##' ----------------------
    ROI_plugin_add_status_code_to_db(solver,  0L, "OPTIMAL", "An optimal solution was obtained.", 0L)
    ROI_plugin_add_status_code_to_db(solver,  1L, "ERROR", "Some error occured.", 1L)
}

Try the ROI.plugin.msbinlp package in your browser

Any scripts or data that you put into this service are public.

ROI.plugin.msbinlp documentation built on Nov. 17, 2017, 7:30 a.m.