{
  "_id": "6ab7685199f7aa8c6aa30384",
  "Package": "ompr",
  "Type": "Package",
  "Title": "Model and Solve Mixed Integer Linear Programs",
  "Version": "1.0.4.9000",
  "Authors@R": "person(\"Dirk\", \"Schumacher\", email = \"mail@dirk-schumacher.net\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Model mixed integer linear programs in an algebraic way\ndirectly in R. The model is solver-independent and thus offers\nthe possibility to solve a model with different solvers. It\ncurrently only supports linear constraints and objective\nfunctions. See the 'ompr' website\n<https://dirkschumacher.github.io/ompr/> for more information,\ndocumentation and examples.",
  "License": "MIT + file LICENSE",
  "RoxygenNote": "7.2.3",
  "Encoding": "UTF-8",
  "URL": "https://github.com/dirkschumacher/ompr",
  "BugReports": "https://github.com/dirkschumacher/ompr/issues",
  "ByteCompile": "Yes",
  "Collate": "'abstract-model-impl.R' 'helper.R'\n'linear-optimization-model-impl.R'\n'linear-optimization-model-linear-constraints.R'\n'linear-optimization-model-linear-functions.R' 'model-api.R'\n'milp-impl.R' 'milp-linearopt-variables.R' 'ompr-package.R'\n'solution-api.R' 'solution-impl.R'",
  "Repository": "https://dirkschumacher.r-universe.dev",
  "Date/Publication": "2023-09-09 10:32:21 UTC",
  "RemoteUrl": "https://github.com/dirkschumacher/ompr",
  "RemoteRef": "HEAD",
  "RemoteSha": "0f7dfb905a754b196569e04c133cd302d98bbea8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-26 06:34:20 UTC",
    "User": "root"
  },
  "Author": "Dirk Schumacher [aut, cre]",
  "Maintainer": "Dirk Schumacher <mail@dirk-schumacher.net>",
  "_user": "dirkschumacher",
  "_type": "src",
  "_file": "ompr_1.0.4.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/2267e0bc12b46c1fcac78d41b6ba08a0f3caa8273fb6d8b5954dd431091e8cb4",
  "_filesize": 166683,
  "_sha256": "2267e0bc12b46c1fcac78d41b6ba08a0f3caa8273fb6d8b5954dd431091e8cb4",
  "_expires": "2027-01-04T06:38:08.000Z",
  "_created": "2026-09-26T06:34:20.000Z",
  "_published": "2026-09-26T06:38:09.832Z",
  "_jobs": [
    {
      "job": 108354884280,
      "time": 178,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10899963303"
    },
    {
      "job": 108354884212,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10900735141"
    },
    {
      "job": 108354884221,
      "time": 176,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10900655554"
    },
    {
      "job": 108354884183,
      "time": 184,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10900117745"
    },
    {
      "job": 108354431670,
      "time": 195,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10900047717"
    },
    {
      "job": 108354884224,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10900201140"
    },
    {
      "job": 108354884226,
      "time": 83,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10900320919"
    },
    {
      "job": 108354884189,
      "time": 102,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10899579901"
    },
    {
      "job": 108354884193,
      "time": 89,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10899798679"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/36223987964",
  "_status": "success",
  "_upstream": "https://github.com/dirkschumacher/ompr",
  "_commit": {
    "id": "0f7dfb905a754b196569e04c133cd302d98bbea8",
    "author": "Dirk Schumacher <mail@dirk-schumacher.net>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #448 from dirkschumacher/fix-pkgdown\n\nFix pkg down error",
    "time": 1694255541
  },
  "_maintainer": {
    "name": "Dirk Schumacher",
    "email": "mail@dirk-schumacher.net",
    "login": "dirkschumacher",
    "twitter": "@dirk_sch",
    "description": "Freelance Software Developer",
    "uuid": 1569647
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "lazyeval",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "listcomp",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "fastmap",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "dirkschumacher",
  "_selfowned": true,
  "_usedby": 4,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "integer-programming",
    "linear-programming",
    "milp",
    "mip",
    "optimization"
  ],
  "_stars": 281,
  "_contributors": [
    {
      "user": "dirkschumacher",
      "count": 579,
      "uuid": 1569647
    },
    {
      "user": "hugolarzabal",
      "count": 4,
      "uuid": 40272209
    },
    {
      "user": "gitter-badger",
      "count": 1,
      "uuid": 8518239
    }
  ],
  "_userbio": {
    "uuid": 1569647,
    "type": "user",
    "name": "Dirk Schumacher",
    "followers": 358,
    "description": "Freelance Software Developer"
  },
  "_downloads": {
    "count": 1612,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ompr"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/dirkschumacher/ompr",
  "_searchresults": 352,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ompr.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/dirkschumacher/ompr",
  "_realowner": "dirkschumacher",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.6.0",
      "date": "2017-04-17"
    },
    {
      "version": "0.7.0",
      "date": "2017-11-18"
    },
    {
      "version": "0.8.0",
      "date": "2018-06-11"
    },
    {
      "version": "0.8.1",
      "date": "2020-12-04"
    },
    {
      "version": "1.0.0",
      "date": "2022-01-26"
    },
    {
      "version": "1.0.1",
      "date": "2022-01-26"
    },
    {
      "version": "1.0.2",
      "date": "2022-01-31"
    },
    {
      "version": "1.0.3",
      "date": "2022-09-11"
    },
    {
      "version": "1.0.4",
      "date": "2023-09-09"
    }
  ],
  "_exports": [
    "add_constraint",
    "add_constraint_",
    "add_variable",
    "add_variable_",
    "additional_solver_output",
    "as_colwise",
    "colwise",
    "extract_constraints",
    "get_column_duals",
    "get_row_duals",
    "get_solution",
    "get_solution_",
    "MILPModel",
    "MIPModel",
    "nconstraints",
    "new_solution",
    "nvars",
    "objective_function",
    "objective_value",
    "set_bounds",
    "set_bounds_",
    "set_objective",
    "set_objective_",
    "solve_model",
    "solver_status",
    "sum_expr",
    "sum_over",
    "variable_bounds",
    "variable_keys",
    "variable_types"
  ],
  "_help": [
    {
      "page": "add_constraint",
      "title": "Add a constraint",
      "topics": [
        "add_constraint",
        "add_constraint_"
      ]
    },
    {
      "page": "add_variable",
      "title": "Add a variable to the model",
      "topics": [
        "add_variable",
        "add_variable_"
      ]
    },
    {
      "page": "additional_solver_output",
      "title": "Retrieve additional solver specific output",
      "topics": [
        "additional_solver_output"
      ]
    },
    {
      "page": "as_colwise",
      "title": "As_colwise",
      "topics": [
        "as_colwise"
      ]
    },
    {
      "page": "colwise",
      "title": "Format variables colwise",
      "topics": [
        "colwise"
      ]
    },
    {
      "page": "extract_constraints",
      "title": "Extract the constraint matrix, the right hand side and the sense from a model",
      "topics": [
        "extract_constraints"
      ]
    },
    {
      "page": "get_column_duals",
      "title": "Gets the column duals of a solution",
      "topics": [
        "get_column_duals"
      ]
    },
    {
      "page": "get_row_duals",
      "title": "Gets the row duals of a solution",
      "topics": [
        "get_row_duals"
      ]
    },
    {
      "page": "get_solution",
      "title": "Get variable values from a solution",
      "topics": [
        "get_solution",
        "get_solution_"
      ]
    },
    {
      "page": "MILPModel",
      "title": "Experimental: Create a new MILP Model",
      "topics": [
        "MILPModel"
      ]
    },
    {
      "page": "MIPModel",
      "title": "Create a new MIP Model",
      "topics": [
        "MIPModel"
      ]
    },
    {
      "page": "nconstraints",
      "title": "Number of variables (rows) of the model",
      "topics": [
        "nconstraints"
      ]
    },
    {
      "page": "new_solution",
      "title": "Create a new solution",
      "topics": [
        "new_solution"
      ]
    },
    {
      "page": "nvars",
      "title": "Number of variables of a model",
      "topics": [
        "nvars"
      ]
    },
    {
      "page": "objective_function",
      "title": "Extract the objective function from a model",
      "topics": [
        "objective_function"
      ]
    },
    {
      "page": "objective_value",
      "title": "Extract the numerical objective value from a solution",
      "topics": [
        "objective_value"
      ]
    },
    {
      "page": "set_bounds",
      "title": "Set the bounds of a variable",
      "topics": [
        "set_bounds",
        "set_bounds_"
      ]
    },
    {
      "page": "set_objective",
      "title": "Set the model objective",
      "topics": [
        "set_objective",
        "set_objective_"
      ]
    },
    {
      "page": "solve_model",
      "title": "Solve a model",
      "topics": [
        "solve_model"
      ]
    },
    {
      "page": "solver_status",
      "title": "Get the solver status from a solution",
      "topics": [
        "solver_status"
      ]
    },
    {
      "page": "sum_over",
      "title": "Sum over indexes",
      "topics": [
        "sum_expr",
        "sum_over"
      ]
    },
    {
      "page": "variable_bounds",
      "title": "Variable lower and upper bounds of a model",
      "topics": [
        "variable_bounds"
      ]
    },
    {
      "page": "variable_keys",
      "title": "Get all unique names of the model variables",
      "topics": [
        "variable_keys"
      ]
    },
    {
      "page": "variable_types",
      "title": "Variable types of a model",
      "topics": [
        "variable_types"
      ]
    }
  ],
  "_readme": "https://github.com/dirkschumacher/ompr/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "fastmap",
    "lattice",
    "lazyeval",
    "listcomp",
    "Matrix",
    "rlang"
  ],
  "_score": 8.281795266899909,
  "_indexed": true,
  "_nocasepkg": "ompr",
  "_universes": [
    "dirkschumacher"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-09-26T06:36:34.000Z",
      "distro": "resolute",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/7e347f7e665e1dcae3d4aa2ee8fd77d3f30e4fdd051b22eb94eb5973ecfa0edf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/36223987964"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-09-26T06:36:30.000Z",
      "distro": "resolute",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/278c6dde08fe10708a70b47a5a834b5cfea2297929dd61d1da5a59a5278f9694",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/36223987964"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-09-26T06:36:37.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/abcc31c23c9dede60f3a3b22b9fdc7603c22bf06d41bfb2fe3824293e88fbf31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/36223987964"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-09-26T06:36:39.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/aeda0cd27c33c8b13ac453fc70e9fbe2bfa89fb5163a7b44bf8d762b8fc8d61d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/36223987964"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4.9000",
      "date": "2026-09-26T06:36:30.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/2c549bd184102b4293e36fd220b55249c26b8de0423c624d8106f435b2d54a92",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/36223987964"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-09-26T06:35:22.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/7507d1fb7b25bbf3175a417eff08fb35cfea162401e76f9049b8388ba35fde6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/36223987964"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-09-26T06:35:47.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/d2b42321f86a9c6aa5af794585988cae002d67d71deb7f3594d27f16f4c909e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/36223987964"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-09-26T06:35:35.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/509ce376f319fda29efc4fd749595675fbed1ef649e72f3a87e1252b98440e67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/36223987964"
    }
  ]
}