File: ECOS_exitcodes.R

package info (click to toggle)
r-cran-ecosolver 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 10,196 kB
  • sloc: ansic: 11,160; makefile: 108; python: 26; sh: 23
file content (39 lines) | stat: -rw-r--r-- 1,263 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#' ECOS solver exit codes
#'
#' A two-column data frame consisting of the code and description for the
#' ECOS solver with ECOS symbolic code names as row names
#'
#' @name ECOS_exitcodes
#' @docType data
#' @keywords data
#'
NULL


## Source: ecos/include/ecos.h
## ECOS_exitcodes <- data.frame(
##     code = c(0L, 1L, 2L, 10L, -1L, -2L, -3L, -4L, -7L),
##     description = c("Problem solved to optimality",
##                     "Found certificate of primal infeasibility",
##                     "Found certificate of dual infeasibility",
##                     "Offset exitflag at inaccurate results",
##                     "Maximum number of iterations reached",
##                     "Search direction unreliable",
##                     "s or z got outside the cone, numerics?",
##                     "solver interrupted by a signal/ctrl-c",
##                     "Unknown problem in solver"),
##     stringsAsFactors = FALSE)
## rownames(ECOS_exitcode) <-
##             c("ECOS_OPTIMAL",
##              "ECOS_PINF",
##              "ECOS_DINF",
##              "ECOS_INACC_OFFSET",
##              "ECOS_MAXIT",
##              "ECOS_NUMERICS",
##              "ECOS_OUTCONE",
##              "ECOS_SIGINT",
##              "ECOS_FATAL")
##
##