{
  "_id": "6a102980acfb0bcc41c916d7",
  "Package": "optimx",
  "Version": "2025-4.9",
  "Date": "2025-04-09",
  "Title": "Expanded Replacement and Extension of the 'optim' Function",
  "Authors@R": "c( person(given = c(\"John\", \"C\"), family = \"Nash\", role =\nc(\"aut\", \"cre\"), email = \"profjcnash@gmail.com\"), person(given =\n\"Ravi\", family = \"Varadhan\", role = \"aut\", email =\n\"RVaradhan@jhmi.edu\"), person(given = \"Hans W\", family =\n\"Borchers\", role = \"ctb\", email =  \"hwborchers@gmail.com\"),\nperson(given = \"Gabor\", family = \"Grothendieck\", role = \"ctb\", email =\n\"ggrothendieck@gmail.com\") )",
  "Maintainer": "John C Nash <profjcnash@gmail.com>",
  "Description": "Provides a replacement and extension of the optim()\nfunction to call to several function minimization codes in R in\na single statement. These methods handle smooth, possibly box\nconstrained functions of several or many parameters. Note that\nfunction 'optimr()' was prepared to simplify the incorporation\nof minimization codes going forward. Also implements some\nutility codes and some extra solvers, including safeguarded\nNewton methods. Many methods previously separate are now\nincluded here. This is the version for CRAN.",
  "License": "GPL-2",
  "URL": "https://github.com/nashjc/optimx",
  "BugReports": "https://github.com/nashjc/optimx/issues",
  "LazyLoad": "Yes",
  "NeedsCompilation": "no",
  "VignetteBuilder": "R.rsp",
  "Config/testthat/edition": "3",
  "Config/build/clean-inst-doc": "false",
  "Packaged": {
    "Date": "2026-05-13 07:29:33 UTC",
    "User": "root"
  },
  "Author": "John C Nash [aut, cre], Ravi Varadhan [aut], Hans W Borchers\n[ctb], Gabor Grothendieck [ctb]",
  "Config/pak/sysreqs": "cmake",
  "Repository": "https://nashjc.r-universe.dev",
  "Date/Publication": "2025-05-23 17:16:40 UTC",
  "RemoteUrl": "https://github.com/nashjc/optimx",
  "RemoteRef": "HEAD",
  "RemoteSha": "c3b014c2c8fcb3d3c9d7aba769a4f68898d2ab96",
  "MD5sum": "7fb1a9102370880ee0fb78cedd79092f",
  "_user": "nashjc",
  "_type": "src",
  "_file": "optimx_2025-4.9.tar.gz",
  "_fileid": "28603d6a8e74e353b9d8c2b418dd9a5e9591d3f4478563dc4b3733e79a02d63b",
  "_filesize": 2616341,
  "_sha256": "28603d6a8e74e353b9d8c2b418dd9a5e9591d3f4478563dc4b3733e79a02d63b",
  "_created": "2026-05-13T07:29:33.000Z",
  "_published": "2026-05-22T10:01:36.377Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77357757263,
      "time": 232,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6964145898"
    },
    {
      "job": 77357757611,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964127862"
    },
    {
      "job": 77357757417,
      "time": 123,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6964112610"
    },
    {
      "job": 77357756921,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964113743"
    },
    {
      "job": 77357756696,
      "time": 235,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964075638"
    },
    {
      "job": 77357756724,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157864640"
    },
    {
      "job": 77357757005,
      "time": 116,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6964110842"
    },
    {
      "job": 77357757523,
      "time": 107,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6964107880"
    },
    {
      "job": 77357757121,
      "time": 94,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6964104438"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nashjc/actions/runs/25784767082",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nashjc/optimx",
  "_commit": {
    "id": "c3b014c2c8fcb3d3c9d7aba769a4f68898d2ab96",
    "author": "nashjc <profjcnash@gmail.com>",
    "committer": "nashjc <profjcnash@gmail.com>",
    "message": "minor edit for appearance of spreadsheet\n",
    "time": 1748020600
  },
  "_maintainer": {
    "name": "John C Nash",
    "email": "profjcnash@gmail.com",
    "login": "nashjc",
    "uuid": 3526572
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "nloptr",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "setRNG",
      "role": "Suggests"
    },
    {
      "package": "BB",
      "role": "Suggests"
    },
    {
      "package": "ucminf",
      "role": "Suggests"
    },
    {
      "package": "minqa",
      "role": "Suggests"
    },
    {
      "package": "dfoptim",
      "role": "Suggests"
    },
    {
      "package": "lbfgsb3c",
      "role": "Suggests"
    },
    {
      "package": "lbfgs",
      "role": "Suggests"
    },
    {
      "package": "subplex",
      "role": "Suggests"
    },
    {
      "package": "marqLevAlg",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "R.rsp",
      "role": "Suggests"
    }
  ],
  "_owner": "nashjc",
  "_selfowned": true,
  "_usedby": 90,
  "_updates": [
    {
      "week": "2025-21",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "nashjc",
      "count": 92,
      "uuid": 3526572
    },
    {
      "user": "dmurdoch",
      "count": 1,
      "uuid": 1935680
    }
  ],
  "_userbio": {
    "uuid": 3526572,
    "type": "user",
    "name": "John C. Nash",
    "description": "I do scientific and statistical computation, particularly function minimization and least squares."
  },
  "_downloads": {
    "count": 22442,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/optimx"
  },
  "_mentions": 21,
  "_devurl": "https://github.com/nashjc/optimx",
  "_searchresults": 2056,
  "_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/optimx.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nashjc/optimx",
  "_realowner": "nashjc",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.84",
      "date": "2010-08-02"
    },
    {
      "version": "0.88",
      "date": "2010-10-23"
    },
    {
      "version": "2011-2.27",
      "date": "2011-03-01"
    },
    {
      "version": "2011-2.29",
      "date": "2011-07-29"
    },
    {
      "version": "2011-8.1",
      "date": "2011-08-21"
    },
    {
      "version": "2011-8.2",
      "date": "2012-02-20"
    },
    {
      "version": "2012-3.31",
      "date": "2012-03-31"
    },
    {
      "version": "2012.04.01",
      "date": "2012-04-22"
    },
    {
      "version": "2013.8.6",
      "date": "2013-08-09"
    },
    {
      "version": "2014.5.4",
      "date": "2014-05-05"
    },
    {
      "version": "2013.8.6.1",
      "date": "2014-05-05"
    },
    {
      "version": "2013.8.7",
      "date": "2014-11-13"
    },
    {
      "version": "2018-7.10",
      "date": "2018-09-30"
    },
    {
      "version": "2020-1.31",
      "date": "2020-02-01"
    },
    {
      "version": "2020-2.2",
      "date": "2020-02-07"
    },
    {
      "version": "2020-4.2",
      "date": "2020-04-08"
    },
    {
      "version": "2021-6.12",
      "date": "2021-06-13"
    },
    {
      "version": "2021-10.12",
      "date": "2021-10-13"
    },
    {
      "version": "2022-4.30",
      "date": "2022-05-10"
    },
    {
      "version": "2023-8.13",
      "date": "2023-08-14"
    },
    {
      "version": "2023-10.21",
      "date": "2023-10-24"
    },
    {
      "version": "2024-12.2",
      "date": "2024-12-10"
    },
    {
      "version": "2025-4.9",
      "date": "2025-04-10"
    }
  ],
  "_exports": [
    "axsearch",
    "bmchk",
    "bmstep",
    "checkallsolvers",
    "checksolver",
    "coef<-",
    "ctrldefault",
    "dispdefault",
    "fnchk",
    "gHgen",
    "gHgenb",
    "grback",
    "grcentral",
    "grchk",
    "grfwd",
    "grnd",
    "grpracma",
    "hesschk",
    "hjn",
    "kktchk",
    "multistart",
    "ncg",
    "nvm",
    "opm",
    "opm2optimr",
    "optchk",
    "optimr",
    "optimr2opm",
    "optimx",
    "optsp",
    "pd_check",
    "polyopt",
    "proptimr",
    "Rcgmin",
    "Rcgminb",
    "Rcgminu",
    "Rvmmin",
    "Rvmminb",
    "Rvmminu",
    "scalechk",
    "snewtm",
    "snewton",
    "tn",
    "tnbc"
  ],
  "_help": [
    {
      "page": "optimx-package",
      "title": "A replacement and extension of the optim() function, plus various optimization tools",
      "topics": [
        "optimx-package"
      ]
    },
    {
      "page": "axsearch",
      "title": "Perform axial search around a supposed MINIMUM and provide diagnostics",
      "topics": [
        "axsearch"
      ]
    },
    {
      "page": "bmchk",
      "title": "Check bounds and masks for parameter constraints used in nonlinear optimization",
      "topics": [
        "bmchk"
      ]
    },
    {
      "page": "bmstep",
      "title": "Compute the maximum step along a search direction.",
      "topics": [
        "bmstep"
      ]
    },
    {
      "page": "checksolver",
      "title": "Test if requested solver is present",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "checkallsolvers",
        "checksolver"
      ]
    },
    {
      "page": "coef.opm",
      "title": "Summarize opm object",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "coef.opm",
        "coef.optimx",
        "coef<-",
        "coef<-.opm",
        "coef<-.optimx"
      ]
    },
    {
      "page": "ctrldefault",
      "title": "set control defaults",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "ctrldefault",
        "dispdefault"
      ]
    },
    {
      "page": "fnchk",
      "title": "Run tests, where possible, on user objective function",
      "topics": [
        "fnchk"
      ]
    },
    {
      "page": "gHgen",
      "title": "Generate gradient and Hessian for a function at given parameters.",
      "topics": [
        "gHgen"
      ]
    },
    {
      "page": "gHgenb",
      "title": "Generate gradient and Hessian for a function at given parameters.",
      "topics": [
        "gHgenb"
      ]
    },
    {
      "page": "grback",
      "title": "Backward difference numerical gradient approximation.",
      "topics": [
        "grback"
      ]
    },
    {
      "page": "grcentral",
      "title": "Central difference numerical gradient approximation.",
      "topics": [
        "grcentral"
      ]
    },
    {
      "page": "grchk",
      "title": "Run tests, where possible, on user objective function and (optionally) gradient and hessian",
      "topics": [
        "grchk"
      ]
    },
    {
      "page": "grfwd",
      "title": "Forward difference numerical gradient approximation.",
      "topics": [
        "grfwd",
        "optsp"
      ]
    },
    {
      "page": "grnd",
      "title": "A reorganization of the call to numDeriv grad() function.",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "grnd"
      ]
    },
    {
      "page": "grpracma",
      "title": "A reorganization of the call to the pracma grad() function.",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "grpracma"
      ]
    },
    {
      "page": "hesschk",
      "title": "Run tests, where possible, on user objective function and (optionally) gradient and hessian",
      "topics": [
        "hesschk"
      ]
    },
    {
      "page": "hjn",
      "title": "Compact R Implementation of Hooke and Jeeves Pattern Search Optimization",
      "topics": [
        "hjn"
      ]
    },
    {
      "page": "kktchk",
      "title": "Check Kuhn Karush Tucker conditions for a supposed function minimum",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "kktchk"
      ]
    },
    {
      "page": "multistart",
      "title": "General-purpose optimization - multiple starts",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "multistart"
      ]
    },
    {
      "page": "ncg",
      "title": "An R implementation of a Dai / Yuan nonlinear conjugate gradient algorithm.",
      "topics": [
        "ncg"
      ]
    },
    {
      "page": "nvm",
      "title": "Variable metric nonlinear function minimization, driver.",
      "topics": [
        "nvm"
      ]
    },
    {
      "page": "opm",
      "title": "General-purpose optimization",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "opm"
      ]
    },
    {
      "page": "opm2optimr",
      "title": "Extract optim() solution for one method of opm() result",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "opm2optimr"
      ]
    },
    {
      "page": "optchk",
      "title": "General-purpose optimization",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "optchk"
      ]
    },
    {
      "page": "optimr",
      "title": "General-purpose optimization",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "optimr"
      ]
    },
    {
      "page": "optimr2opm",
      "title": "Add a single optimr() solution to a opm() result set",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "optimr2opm"
      ]
    },
    {
      "page": "optimx",
      "title": "General-purpose optimization",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "as.data.frame.optimx",
        "optimx",
        "[.optimx"
      ]
    },
    {
      "page": "pd_check",
      "title": "Check Hessian matrix is positive definite by attempting a Cholesky decomposition.",
      "topics": [
        "pd_check"
      ]
    },
    {
      "page": "polyopt",
      "title": "General-purpose optimization - sequential application of methods",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "polyopt"
      ]
    },
    {
      "page": "proptimr",
      "title": "Compact display of an 'optimr()' result object",
      "topics": [
        "proptimr"
      ]
    },
    {
      "page": "Rcgmin",
      "title": "An R implementation of a Dai / Yuan nonlinear conjugate gradient algorithm.",
      "topics": [
        "Rcgmin",
        "Rcgminb",
        "Rcgminu"
      ]
    },
    {
      "page": "Rtnmin",
      "title": "Truncated Newton function minimization",
      "topics": [
        "Rtnmin",
        "tn",
        "tnbc"
      ]
    },
    {
      "page": "Rvmmin",
      "title": "Variable metric nonlinear function minimization, driver.",
      "topics": [
        "Rvmmin",
        "Rvmminb",
        "Rvmminu"
      ]
    },
    {
      "page": "scalechk",
      "title": "Check the scale of the initial parameters and bounds input to an optimization code used in nonlinear optimization",
      "topics": [
        "scalechk"
      ]
    },
    {
      "page": "snewton",
      "title": "Safeguarded Newton methods for function minimization using R functions.",
      "topics": [
        "snewtm",
        "snewton"
      ]
    },
    {
      "page": "summary.optimx",
      "title": "Summarize optimx object",
      "concept": [
        "minimization",
        "maximization"
      ],
      "topics": [
        "summary.optimx"
      ]
    }
  ],
  "_readme": "https://github.com/nashjc/optimx/raw/HEAD/README.md",
  "_rundeps": [
    "nloptr",
    "numDeriv",
    "pracma"
  ],
  "_vignettes": [
    {
      "source": "AddPracmaNM2optimx.pdf.asis",
      "filename": "AddPracmaNM2optimx.pdf",
      "title": "Adding pracmanm to optimr() in package optimx",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2024-10-22 13:13:36",
      "modified": "2024-10-22 13:13:36",
      "commits": 1
    },
    {
      "source": "ExplainGradMinR.pdf.asis",
      "filename": "ExplainGradMinR.pdf",
      "title": "Explaining Gradient Minimizers in R",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2023-09-05 19:25:31",
      "modified": "2024-03-15 13:09:59",
      "commits": 2
    },
    {
      "source": "Intro-to-optimx.pdf.asis",
      "filename": "Intro-to-optimx.pdf",
      "title": "Intro to optimx",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2023-09-05 19:25:31",
      "modified": "2024-03-15 13:09:59",
      "commits": 2
    },
    {
      "source": "Rvmmin.pdf.asis",
      "filename": "Rvmmin.pdf",
      "title": "Rvmmin - an R implementation of the Fletcher(1970) variable metric method with bounds and masks",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2023-09-05 19:25:31",
      "modified": "2024-03-15 13:09:59",
      "commits": 2
    },
    {
      "source": "SNewton.pdf.asis",
      "filename": "SNewton.pdf",
      "title": "SNewton: safeguarded Newton methods for function minimization",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2023-09-05 19:25:31",
      "modified": "2024-03-15 13:09:59",
      "commits": 2
    },
    {
      "source": "Extend-optimx.pdf.asis",
      "filename": "Extend-optimx.pdf",
      "title": "Using and extending the optimx package",
      "engine": "R.rsp::asis",
      "headings": [],
      "created": "2023-09-05 19:25:31",
      "modified": "2024-03-15 13:09:59",
      "commits": 2
    }
  ],
  "_score": 12.350720937617913,
  "_indexed": true,
  "_nocasepkg": "optimx",
  "_universes": [
    "nashjc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2025-4.9",
      "date": "2026-05-13T07:33:18.000Z",
      "distro": "noble",
      "commit": "c3b014c2c8fcb3d3c9d7aba769a4f68898d2ab96",
      "fileid": "78785d7e672fa9c79bd3cc1a463cb67602e79c19cb0b0e8c359f12963f62d524",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nashjc/actions/runs/25784767082"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2025-4.9",
      "date": "2026-05-13T07:32:16.000Z",
      "distro": "noble",
      "commit": "c3b014c2c8fcb3d3c9d7aba769a4f68898d2ab96",
      "fileid": "28b2e37bde9d3ab5e69e65b1d83a6a576fc5bac04276fe3f7159cba4f2f2e395",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nashjc/actions/runs/25784767082"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2025-4.9",
      "date": "2026-05-13T07:31:29.000Z",
      "commit": "c3b014c2c8fcb3d3c9d7aba769a4f68898d2ab96",
      "fileid": "7127263d4b9a819fd7dd1b59fb1adb7f1613b12600ec6aaddbb7f9f63db02eed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nashjc/actions/runs/25784767082"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2025-4.9",
      "date": "2026-05-13T07:31:33.000Z",
      "commit": "c3b014c2c8fcb3d3c9d7aba769a4f68898d2ab96",
      "fileid": "7e99b93075b31e70ec59eaee9424598f3627cc2b3ab22da3ee07eb5a6ccd2ca7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nashjc/actions/runs/25784767082"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2025-4.9",
      "date": "2026-05-13T07:31:06.000Z",
      "commit": "c3b014c2c8fcb3d3c9d7aba769a4f68898d2ab96",
      "fileid": "ae56d9af29c98bbfb37f65618634f52f0f1aaf8f289e921b56472fb42e7d3812",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nashjc/actions/runs/25784767082"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2025-4.9",
      "date": "2026-05-13T07:30:56.000Z",
      "commit": "c3b014c2c8fcb3d3c9d7aba769a4f68898d2ab96",
      "fileid": "9397edcd686aaf24b5d55e7c4401094a1b8a29d4bb1fba1a3ae0194ab7b4d496",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nashjc/actions/runs/25784767082"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2025-4.9",
      "date": "2026-05-13T07:30:47.000Z",
      "commit": "c3b014c2c8fcb3d3c9d7aba769a4f68898d2ab96",
      "fileid": "dcc8fc2d2ddf952a6bb19926591e4f7021bc4b476c876d6a499eae03999e0371",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nashjc/actions/runs/25784767082"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2025-4.9",
      "date": "2026-05-22T10:01:17.000Z",
      "commit": "c3b014c2c8fcb3d3c9d7aba769a4f68898d2ab96",
      "fileid": "09999dd1c52585f2541f2e4df605c2f112007ee33704333383f721eb9bdbd6db",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nashjc/actions/runs/25784767082"
    }
  ]
}