{
  "_id": "6a155950acfb0bcc41d5ed6d",
  "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-05-26 08:23:10 UTC",
    "User": "root"
  },
  "Author": "Dirk Schumacher [aut, cre]",
  "Maintainer": "Dirk Schumacher <mail@dirk-schumacher.net>",
  "MD5sum": "df7147ea76452accfb25d0c29f98b979",
  "_user": "dirkschumacher",
  "_type": "src",
  "_file": "ompr_1.0.4.9000.tar.gz",
  "_fileid": "3b19fa385c3933bc0436e956a9ba0e501aeb587387ac8bc5e9878cf69c919c35",
  "_filesize": 164309,
  "_sha256": "3b19fa385c3933bc0436e956a9ba0e501aeb587387ac8bc5e9878cf69c919c35",
  "_created": "2026-05-26T08:23:10.000Z",
  "_published": "2026-05-26T08:26:56.159Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77835269437,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7212256864"
    },
    {
      "job": 77835269436,
      "time": 164,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7212267424"
    },
    {
      "job": 77835269514,
      "time": 181,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7212262825"
    },
    {
      "job": 77835269450,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7212247693"
    },
    {
      "job": 77834861500,
      "time": 158,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7212213322"
    },
    {
      "job": 77835269440,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7212245072"
    },
    {
      "job": 77835269516,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7212250228"
    },
    {
      "job": 77835269483,
      "time": 97,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7212244507"
    },
    {
      "job": 77835269471,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7212244428"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/26440900673",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": 6,
  "_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",
    "description": "Freelance Software Developer"
  },
  "_downloads": {
    "count": 1369,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ompr"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/dirkschumacher/ompr",
  "_searchresults": 374,
  "_rbuild": "4.6.0",
  "_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",
    "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.413253875342857,
  "_indexed": true,
  "_nocasepkg": "ompr",
  "_universes": [
    "dirkschumacher"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-05-26T08:25:07.000Z",
      "distro": "noble",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "bec830fce4d1e40c26d9be775af102fc16682ed91886ff31272d8845e0d977e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/26440900673"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4.9000",
      "date": "2026-05-26T08:25:39.000Z",
      "distro": "noble",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "06a703f7aac1d24330f590e82689eebfbf830274e66f52fda4b29054925884db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/26440900673"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-05-26T08:25:36.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "6ebec37f5f1d02c667aef62ec1688eabcbb3bca661d14cf16394cb2ab1c4fa38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/26440900673"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4.9000",
      "date": "2026-05-26T08:24:54.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "a94ee1d800ecc75216c0ab0e7d48eba2dea4451069d021d7d9ce3d5e70e29749",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/26440900673"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4.9000",
      "date": "2026-05-26T08:25:06.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "89a387c3c2e4491c5d976f02ba6bb3b0e2cefc486136429b19ae4d0a563b81e3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/26440900673"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-05-26T08:24:39.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "746f36813688af37c0ac98e4c2b59a108c94960a296a5cfdb060c6deab1de73e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/26440900673"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-05-26T08:24:25.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "457203116d7e85328773b0e69b1c5d32d5dd8b8340bf9a557755093eace76950",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/26440900673"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4.9000",
      "date": "2026-05-26T08:24:24.000Z",
      "commit": "0f7dfb905a754b196569e04c133cd302d98bbea8",
      "fileid": "a9b11441776479d5a54002de4c1355d4306d4d6a049af11183be2e8fd930c0ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dirkschumacher/actions/runs/26440900673"
    }
  ]
}