{
  "_id": "6ad324cf2c5c76d3dd0c9a99",
  "Package": "GNE",
  "Type": "Package",
  "Title": "Computation of Generalized Nash Equilibria",
  "Version": "0.99-7",
  "Authors@R": "person(\"Christophe\", \"Dutang\", role = c(\"aut\", \"cre\"),\nemail = \"dutangc@gmail.com\", comment = c(ORCID = \"0000-0001-6732-1501\"))",
  "Description": "Compute standard and generalized Nash Equilibria of\nnon-cooperative games. Optimization methods available are\nnonsmooth reformulation, fixed-point formulation, minimization\nproblem and constrained-equation reformulation. See e.g. Kanzow\nand Facchinei (2010), <doi:10.1007/s10479-009-0653-x>.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "BuildVignettes": "true",
  "URL": "https://r-forge.r-project.org/projects/optimizer/",
  "Repository": "https://r-forge.r-universe.dev",
  "Date/Publication": "2025-01-04 15:10:34 UTC",
  "RemoteUrl": "https://github.com/r-forge/optimizer",
  "RemoteRef": "HEAD",
  "RemoteSha": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
  "RemoteSubdir": "pkg/GNE",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-17 07:28:09 UTC",
    "User": "root"
  },
  "Author": "Christophe Dutang [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-6732-1501>)",
  "Maintainer": "Christophe Dutang <dutangc@gmail.com>",
  "_user": "r-forge",
  "_type": "src",
  "_file": "GNE_0.99-7.tar.gz",
  "_fileid": "https://r2.ropensci.org/c9aaf63391a3bc1a555388e78afad001f7a9df6e8221ee6d47dd892ea4dbdffb",
  "_filesize": 528192,
  "_sha256": "c9aaf63391a3bc1a555388e78afad001f7a9df6e8221ee6d47dd892ea4dbdffb",
  "_expires": "2027-01-25T07:33:33.000Z",
  "_created": "2026-10-17T07:28:09.000Z",
  "_published": "2026-10-17T07:33:35.083Z",
  "_buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117341538864,
      "time": 142,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12093713402"
    },
    {
      "job": 117341538878,
      "time": 225,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12093962558"
    },
    {
      "job": 117341538927,
      "time": 138,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093667540"
    },
    {
      "job": 117341538975,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093408248"
    },
    {
      "job": 117341538966,
      "time": 104,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12094436079"
    },
    {
      "job": 117341538969,
      "time": 253,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12094366455"
    },
    {
      "job": 117341538925,
      "time": 108,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093917624"
    },
    {
      "job": 117341538964,
      "time": 247,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12094306711"
    },
    {
      "job": 117340984839,
      "time": 185,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093418051"
    },
    {
      "job": 117341538855,
      "time": 82,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12094371167"
    },
    {
      "job": 117341538985,
      "time": 202,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12093733621"
    },
    {
      "job": 117341538999,
      "time": 130,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12093886695"
    },
    {
      "job": 117341538988,
      "time": 87,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12094316354"
    },
    {
      "job": 117341539028,
      "time": 212,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12094275983"
    },
    {
      "job": 117341538940,
      "time": 89,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093941394"
    }
  ],
  "_upstream": "https://github.com/r-forge/optimizer",
  "_commit": {
    "id": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
    "author": "nashjc (Prof ) <nashjc@uottawa.ca>",
    "committer": "nashjc (Prof ) <nashjc@uottawa.ca>",
    "message": "nlsr\n\n\ngit-svn-id: svn://svn.r-forge.r-project.org/svnroot/optimizer@1946 edb9625f-4e0d-4859-8d74-9fd3b1da38cb\n",
    "time": 1736003434
  },
  "_maintainer": {
    "name": "Christophe Dutang",
    "email": "dutangc@gmail.com",
    "login": "dutangc",
    "description": "Assistant professor at Grenoble INP, France",
    "uuid": 6387382,
    "orcid": "0000-0001-6732-1501"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "alabama",
      "role": "Depends"
    },
    {
      "package": "nleqslv",
      "role": "Depends"
    },
    {
      "package": "BB",
      "role": "Depends"
    },
    {
      "package": "SQUAREM",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "r-forge",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "nashjc",
      "count": 1320,
      "uuid": 3526572
    },
    {
      "user": "lmsstudios",
      "count": 161,
      "uuid": 97995137
    },
    {
      "user": "dutangc",
      "count": 73,
      "uuid": 6387382
    },
    {
      "user": "dmbates",
      "count": 67,
      "uuid": 371258
    },
    {
      "user": "dmurdoch",
      "count": 36,
      "uuid": 1935680
    },
    {
      "user": "k-m-m",
      "count": 22,
      "uuid": 4985137
    },
    {
      "user": "imstatsbee",
      "count": 5,
      "uuid": 38984348
    },
    {
      "user": "hwborchers",
      "count": 3,
      "uuid": 1954450
    },
    {
      "user": "theussl",
      "count": 1,
      "uuid": 22165873
    }
  ],
  "_userbio": {
    "uuid": 75573726,
    "type": "organization",
    "name": " R-Forge",
    "followers": 27,
    "description": "git-svn mirrors from R-Forge"
  },
  "_downloads": {
    "count": 357,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/GNE"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/r-forge/optimizer",
  "_searchresults": 19,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/GNE.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/r-forge/optimizer",
  "_realowner": "r-forge",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.98",
      "date": "2014-06-11"
    },
    {
      "version": "0.99-0",
      "date": "2014-07-31"
    },
    {
      "version": "0.99-1",
      "date": "2015-07-20"
    },
    {
      "version": "0.99-2",
      "date": "2018-08-09"
    },
    {
      "version": "0.99-3",
      "date": "2020-01-08"
    },
    {
      "version": "0.99-3.1",
      "date": "2022-05-23"
    },
    {
      "version": "0.99-4",
      "date": "2022-05-23"
    },
    {
      "version": "0.99-5",
      "date": "2023-03-30"
    },
    {
      "version": "0.99-6",
      "date": "2024-10-17"
    }
  ],
  "_exports": [
    "bench.GNE.ceq",
    "bench.GNE.fpeq",
    "bench.GNE.minpb",
    "bench.GNE.nseq",
    "compl.par",
    "decrstep",
    "decrstep10",
    "decrstep20",
    "decrstep5",
    "fpNIR",
    "fpVIR",
    "funCER",
    "funSSR",
    "gapNIR",
    "gapVIR",
    "GNE",
    "GNE.ceq",
    "GNE.fpeq",
    "GNE.minpb",
    "GNE.nseq",
    "gradpotential.ce",
    "gradpsi.ce",
    "gradxgapNIR",
    "gradxgapVIR",
    "gradygapNIR",
    "gradygapVIR",
    "GrAphiFB",
    "GrAphiKK",
    "GrAphiLT",
    "GrAphiMan",
    "GrAphiMin",
    "GrAphipFB",
    "GrBphiFB",
    "GrBphiKK",
    "GrBphiLT",
    "GrBphiMan",
    "GrBphiMin",
    "GrBphipFB",
    "jacCER",
    "jacSSR",
    "phiFB",
    "phiKK",
    "phiLT",
    "phiMan",
    "phiMin",
    "phipFB",
    "potential.ce",
    "projector",
    "psi.ce",
    "purestep",
    "rejection"
  ],
  "_help": [
    {
      "page": "GNE.bench",
      "title": "Benchmark function",
      "topics": [
        "bench.GNE",
        "bench.GNE.ceq",
        "bench.GNE.fpeq",
        "bench.GNE.minpb",
        "bench.GNE.nseq"
      ]
    },
    {
      "page": "util-CER",
      "title": "Constrained Equation Reformulation",
      "topics": [
        "CER",
        "funCER",
        "jacCER"
      ]
    },
    {
      "page": "util-complementarity",
      "title": "Complementarity functions",
      "topics": [
        "compl.par",
        "complementarity",
        "GrAphiFB",
        "GrAphiKK",
        "GrAphiLT",
        "GrAphiMan",
        "GrAphiMin",
        "GrAphipFB",
        "GrAphirFB",
        "GrBphiFB",
        "GrBphiKK",
        "GrBphiLT",
        "GrBphiMan",
        "GrBphiMin",
        "GrBphipFB",
        "GrBphirFB",
        "phiFB",
        "phiKK",
        "phiLT",
        "phiMan",
        "phiMin",
        "phipFB",
        "phirFB",
        "print.compl.par",
        "summary.compl.par"
      ]
    },
    {
      "page": "eqsolve.depr",
      "title": "Solving non linear equations",
      "topics": [
        "eqsolve"
      ]
    },
    {
      "page": "GNE",
      "title": "GNE package",
      "topics": [
        "GNE"
      ]
    },
    {
      "page": "GNE.ceq",
      "title": "Constrained equation reformulation of the GNE problem.",
      "topics": [
        "GNE.ceq"
      ]
    },
    {
      "page": "GNE.fpeq",
      "title": "Fixed point equation reformulation of the GNE problem.",
      "topics": [
        "GNE.fpeq"
      ]
    },
    {
      "page": "GNE.minpb",
      "title": "Non smooth equation reformulation of the GNE problem.",
      "topics": [
        "GNE.minpb"
      ]
    },
    {
      "page": "GNE.nseq",
      "title": "Non smooth equation reformulation of the GNE problem.",
      "topics": [
        "GNE.nseq"
      ]
    },
    {
      "page": "util-NIR",
      "title": "Nikaido Isoda Reformulation",
      "topics": [
        "fpNIR",
        "gapNIR",
        "gradxgapNIR",
        "gradygapNIR"
      ]
    },
    {
      "page": "util-potentreduc",
      "title": "Potential reduction algorithm utility functions",
      "topics": [
        "gradpotential.ce",
        "gradpsi.ce",
        "potential.ce",
        "psi.ce"
      ]
    },
    {
      "page": "util-projection",
      "title": "Projection of a point on a set",
      "topics": [
        "Projector",
        "projector"
      ]
    },
    {
      "page": "util-rejectalgo",
      "title": "Rejection method for random generation.",
      "topics": [
        "rejection"
      ]
    },
    {
      "page": "util-SSR",
      "title": "SemiSmooth Reformulation",
      "topics": [
        "funSSR",
        "jacSSR",
        "SSR"
      ]
    },
    {
      "page": "util-stepfunc",
      "title": "Step functions",
      "topics": [
        "decrstep",
        "decrstep10",
        "decrstep20",
        "decrstep5",
        "purestep",
        "stepfunc"
      ]
    },
    {
      "page": "util-VIR",
      "title": "Nikaido Isoda Reformulation",
      "topics": [
        "fpVIR",
        "gapVIR",
        "gradxgapVIR",
        "gradygapVIR"
      ]
    }
  ],
  "_readme": "https://github.com/r-forge/optimizer/raw/HEAD/pkg/GNE/README.md",
  "_rundeps": [
    "alabama",
    "BB",
    "nleqslv",
    "numDeriv",
    "quadprog",
    "SQUAREM"
  ],
  "_vignettes": [
    {
      "source": "GNE-optim-bench.Rmd",
      "filename": "GNE-optim-bench.html",
      "title": "Optimization benchmark with the GNE package",
      "author": "Christophe Dutang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "GNEP as a nonsmooth equation",
        "Notation and definitions",
        "A classic example",
        "Usage example",
        "Localization of the GNEs",
        "Benchmark of the complementarity functions and the computation methods",
        "Initial point $z_0 = (4, -4,  1,  1)$",
        "Initial point $z_0 = (-4, 4,  1,  1)$",
        "Initial point $z_0 = (3, 0,  1,  1)$",
        "Initial point $z_0 = (0, 3, 1, 1)$",
        "Initial point $z_0 = (-1, -1, 1,  1)$",
        "Initial point $z_0 = (0, 0, 1,  1)$",
        "Conclusions",
        "Special case of shared constraints with common multipliers",
        "Constrained-equation reformulation of the KKT system",
        "GNEP as a fixed point equation or a minimization problem",
        "NI reformulation",
        "QVI reformulation",
        "The jointly convex case",
        "In this subsection, we present reformulations for a subclass of GNEP called jointly convex case.Firstly, the jointly convex setting requires that the constraint function is common to all players $g^1=\\dots =g^N= g$.Then, we assume, there exists a closed convex subset $X \\subset \\R^n$ such that for all player $i$,$$",
        "NIF formulation for the jointly convex case",
        "QVI formulation for the jointly convex case",
        "List of examples",
        "Tables for the nonsmooth reformulation",
        "Appendix for the nonsmooth reformulation",
        "\\subsection{Semismooth reformulation -- Shared constraint case\\label{app:ceq:jointcase}}The Jacobian is given by$$\\Jac \\widetilde H(x, \\tilde \\lambda, \\tilde w) =\\left(\\begin{matrix}\\Jac_x \\bar L (x, \\tilde \\lambda)  & \\Jac_{\\tilde \\lambda} \\bar L (x, \\tilde \\lambda)    & 0 \\\\Jac_x \\tilde g(x) & 0 & I \\0 & \\diag[\\tilde w] & \\diag[\\tilde \\lambda]\\end{matrix}\\right),$$where$$\\Jac_{\\tilde \\lambda} \\bar L (x, \\tilde \\lambda)"
      ],
      "created": "2023-03-29 19:59:07",
      "modified": "2024-10-17 14:21:24",
      "commits": 3
    }
  ],
  "_score": 5.181843587944773,
  "_indexed": true,
  "_nocasepkg": "gne",
  "_universes": [
    "r-forge",
    "dutangc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.99-7",
      "date": "2026-10-17T07:30:34.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/3ead596b9b56073a88f9ac2cd3b479b60a9221ac459febde9005a45ac404a90e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.99-7",
      "date": "2026-10-17T07:31:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/1523892feaf402d5d74496a3915767b2e2bea7401f6a59ca60edfb0de6772dcd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.99-7",
      "date": "2026-10-17T07:30:34.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/39be1cf5d09479b17d8bf7ac51e3d30817d39b54f33e2b1a2add9d0e7b9b6fb4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.99-7",
      "date": "2026-10-17T07:30:05.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/60bdeaf6510581f85943c29553bc594b798a579943cefc0d24faabbb23383c2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.99-7",
      "date": "2026-10-17T07:30:58.000Z",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/967b34c0db0e72813772c97c272a0f5cb88f2c122196c008c961db980423ad69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.99-7",
      "date": "2026-10-17T07:32:03.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/c84aa1bb8c3f7163e62d36ce933f5340d736e74870843af60b76010c59c76f64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.99-7",
      "date": "2026-10-17T07:30:49.000Z",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/96ba2214e64e52ca59e07071781f760abaa79eb2195efdedc94656de70c5d864",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.99-7",
      "date": "2026-10-17T07:32:00.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/6f1c6fb2d209640f95e9b254dfd4bb39297eaa75cc23ac2979dbb5c05b9ced48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.99-7",
      "date": "2026-10-17T07:30:00.000Z",
      "arch": "emscripten",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/ec7e4840d1f608ff3eab7a9a6e372980b6e6b92c9b44e7984e1aa16846e05a5a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-10-17T07:31:14.000Z",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/1efcae7b8b9f9df72f5aad24249f9feb98caa871f491956692dc6cf898d16e87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-10-17T07:29:25.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/b12981cef64fb5a84e37114bf44abec453c57954d211f5c01d44a3fc50efcbf6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-10-17T07:29:23.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/f4773a6eec63679be85db7fa17563e169bd46d52046e436a04f7dcde52f1d47f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-10-17T07:31:26.000Z",
      "arch": "aarch64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/4ea52fa79dde93a2b1e01536247820441994132c594be027ec5c3be76d1d185a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.99-7",
      "date": "2026-10-17T07:29:23.000Z",
      "arch": "x86_64",
      "commit": "67f18d75bb68f3ca85ae8b27c75bf0c06df0e0df",
      "fileid": "https://r2.ropensci.org/34a34a73030e1be2fecc4e35af8d8cbde297b6b04414c219fe0cddd632b9fe9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-forge/actions/runs/39013564363"
    }
  ]
}