{
  "_id": "6a4903bdb5e98c4082a065a3",
  "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-07-04 12:56:46 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/7be580132bed3f5b78c785a19edc369ea37f2123f4036a5b55a3cd36500f5dae",
  "_filesize": 167861,
  "_sha256": "7be580132bed3f5b78c785a19edc369ea37f2123f4036a5b55a3cd36500f5dae",
  "_expires": "2026-10-12T12:59:39.000Z",
  "_created": "2026-07-04T12:56:46.000Z",
  "_published": "2026-07-04T12:59:41.156Z",
  "_jobs": [
    {
      "job": 85134051346,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8081915329"
    },
    {
      "job": 85134051347,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081914830"
    },
    {
      "job": 85134051369,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8081909503"
    },
    {
      "job": 85134051360,
      "time": 87,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081909873"
    },
    {
      "job": 85133878765,
      "time": 163,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081899529"
    },
    {
      "job": 85134051362,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8081911784"
    },
    {
      "job": 85134051365,
      "time": 94,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8081910602"
    },
    {
      "job": 85134051363,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8081911953"
    },
    {
      "job": 85134051378,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8081911154"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/28706856904",
  "_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": 354,
    "description": "Freelance Software Developer"
  },
  "_downloads": {
    "count": 1190,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ompr"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/dirkschumacher/ompr",
  "_searchresults": 372,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ompr.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_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.173977467227134,
  "_indexed": true,
  "_nocasepkg": "ompr",
  "_universes": [
    "dirkschumacher"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-07-04T12:58:51.000Z",
      "distro": "resolute",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/33e011c5399421e6b035fb411d59e76081626fbe3faa147a9d05bda88589477f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/28706856904"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-07-04T12:58:46.000Z",
      "distro": "resolute",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/9012ac9de530fe18b40a115a7c65bec7c45fce3cb0ff30f421ba63c58e0cf759",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/28706856904"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-07-04T12:58:11.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/f15433eca346a11fe9c0919c302cbfcc05ac6d43a09a51f452ccad0c7c78479c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/28706856904"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-07-04T12:58:13.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/84f78fadbfafc23943d9ce81deb7fe8d0fd4963d814c8202fda79c1db1a814e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/28706856904"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4.9000",
      "date": "2026-07-04T12:58:49.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/c6348a3e7646d9e05d645fca42d1b725543f1055ee84ad4a813e2886ddea5912",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/28706856904"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-07-04T12:57:58.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/30e5fcbf9a90bd4119eb71b6535c734a9a4ecc25c8973bd9d7e0b22717af9f67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/28706856904"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-07-04T12:58:12.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/7c948dd0a100a569694397dac7d9bb25496c787a2b0ba2e46c5f09263b20af1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/28706856904"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-07-04T12:58:06.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "https://r2.ropensci.org/084ab5bcdc84a86b526522589e656a84eabffea8fece2d60ed39f70e4ef251e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/28706856904"
    }
  ]
}