Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision 338c0d2373d852e3c15b4357a9ca01a1f7e31bfc authored by Javier Barbero on 23 April 2026, 08:42:44 UTC, committed by GitHub on 23 April 2026, 08:42:44 UTC
Merge pull request #31 from javierbarbero/dependabot/github_actions/julia-actions/setup-julia-3
Bump julia-actions/setup-julia from 2 to 3
2 parent s 98a0198 + 906bfb6
  • Files
  • Changes
  • ead3f3a
  • /
  • docs
  • /
  • src
  • /
  • optimizer.md
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:338c0d2373d852e3c15b4357a9ca01a1f7e31bfc
directory badge
swh:1:dir:7ac9ea8f95d42d5841fed1888d49fa7946845a1f
content badge
swh:1:cnt:2ace6c66e54d4632d1ac5e8e42a6851c9b0b2885

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
optimizer.md
```@meta
CurrentModule = DataEnvelopmentAnalysis
DocTestSetup = quote
    using DataEnvelopmentAnalysis
end
```

# Configuring the optimizer

DataEnvelopmentAnalysis.jl will use a default optimizer/solver for each DEA model, as shown in the next table.

| Function       | Specific Options | Problem type | Default Optimizer |
| ---------------|--------:|------------:|------------------:| 
| `dea`          |         | LP           | GLPK              |
| `deam`         |         | LP           | GLPK              |
| `deaboot`      |         | LP           | GLPK              |
| `deabigdata`   |         | LP           | GLPK              |
| `deaddf`       |         | LP           | GLPK              |
| `deaadd`       |         | LP           | GLPK              |
| `deagdf`       |         | NLP          | Ipopt             |
| `dearussell`   | `:Input` or `:Output`        | LP           | GLPK              |
| `dearussell`   | `:Graph`        | NLP     | Ipopt      |
| `deaerg`       |         | LP           | GLPK              |
| `deamddf`      |         | LP           | GLPK              |
| `deaholder`    | `l = 1` | LP           | GLPK              |
| `deaholder`    | `l = 2` | QP           |                   |
| `deaholder`    |`l = Inf`| LP           | GLPK              |
| `dearddf`      | `:ERG`  | LP           | GLPK              |
| `dearddf`      | `:MDDF` | LP           | GLPK              |
| `deaenv`       |         | LP           | GLPK              |
| `deacost`      |         | LP           | GLPK              |
| `dearevenue`   |         | LP           | GLPK              |
| `deaprofit`    |         | LP           | GLPK              |
| `deaprofitability` |         | NLP          | Ipopt         |
| `malmquist`    |          |LP           | GLPK              |
| `malmluen`     |          |LP           | GLPK              |

Where:
- LP = Linear programming.
- NLP = Nonlinear programming.
- QP = Quadratic programming.

Models can be solved using a different optimizer by passing a `DEAOptimizer` object to the `optimizer` optional argument. See [JuMP documentation](https://jump.dev/JuMP.jl/v0.21.6/installation/#Installing-a-solver) for a list of all available solvers.

!!! warning "Choose a valid optimizer"
    The optimizer must support the problem type of the DEA model.

    For example, you cannot solve a Generalized Distance Function DEA model using the GLPK solver because it is a linear programming solver and `deagdf` requires a nonlinear programming solver.

The following is an example of solving the radial DEA model using the `Ipopt` sovler:
```@example
using Ipopt
using DataEnvelopmentAnalysis

X = [5 13; 16 12; 16 26; 17 15; 18 14; 23 6; 25 10; 27 22; 37 14; 42 25; 5 17];

Y = [12; 14; 25; 26; 8; 9; 27; 30; 31; 26; 12];

myoptimizer = DEAOptimizer(Ipopt.Optimizer, time_limit = 10, silent = true);

dea(X, Y, slack = false, optimizer = myoptimizer)
```

### Optimizer API

```@docs
DEAOptimizer
newdeamodel
```
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API