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

https://github.com/javierbarbero/DataEnvelopmentAnalysis.jl
26 August 2025, 00:50:33 UTC
  • Code
  • Branches (4)
  • Releases (20)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/gh-pages
    • refs/heads/master
    • refs/heads/pr/10
    • refs/tags/v0.1.0
    • v0.9.1
    • v0.9.0
    • v0.8.2
    • v0.8.1
    • v0.8.0
    • v0.7.3
    • v0.7.2
    • v0.7.1
    • v0.7.0
    • v0.6.1
    • v0.6.0
    • v0.5.2
    • v0.5.1
    • v0.5.0
    • v0.4.0
    • v0.3.1
    • v0.3.0
    • v0.2.0
    • v0.1.2
    • v0.1.1
  • 7477abf
  • /
  • docs
  • /
  • src
  • /
  • optimizer.md
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

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.

  • content
  • directory
  • revision
  • snapshot
  • release
origin badgecontent badge
swh:1:cnt:38a72d8904ce41b3f148ddbaf6b5500b0bb75afe
origin badgedirectory badge
swh:1:dir:e176927fdd07060cc90ca0ea26d0bd5bcb004ddb
origin badgerevision badge
swh:1:rev:2204253eb0ae1b86b64c4f13644b2dae591a62af
origin badgesnapshot badge
swh:1:snp:1c725c8b001f99ed0ba872227b40865d41b4693a
origin badgerelease badge
swh:1:rel:2ead7bd19d47fd1050fe523ab8eee13d0a482f80

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.

  • content
  • directory
  • revision
  • snapshot
  • release
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 2204253eb0ae1b86b64c4f13644b2dae591a62af authored by Javier Barbero on 18 March 2021, 19:57:27 UTC
Version 0.3.0
Tip revision: 2204253
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              |
| `deaddf`       |         | LP           | GLPK              |
| `deaadd`       |         | LP           | GLPK              |
| `deagdf`       |         | NLP          | Ipopt             |
| `dearussell`   | `:Input` or `:Output`        | LP           | GLPK              |
| `dearussell`   | `:Graph`        | NLP     | Ipopt      |
| `deaerg`       |         | LP           | GLPK              |
| `deamddf`      |         | NLP          | Ipopt             |
| `deacost`      |         | LP           | GLPK              |
| `dearevenue`   |         | LP           | GLPK              |
| `deaprofit`    |         | LP           | GLPK              |
| `deaprofitability` |         | NLP          | Ipopt         |
| `malmquist`    |          |LP           | GLPK              |


Where:
- LP = Linear programming.
- NLP = Nonlinear 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:
```jldoctest
julia> using Ipopt

julia> using DataEnvelopmentAnalysis

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

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

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

julia> dea(X, Y, slack = false, optimizer = myoptimizer)
Radial DEA Model 
DMUs = 11; Inputs = 2; Outputs = 1
Orientation = Input; Returns to Scale = CRS
──────────────
    efficiency
──────────────
1     1.0
2     0.62229
3     0.819856
4     1.0
5     0.310371
6     0.555555
7     1.0
8     0.757669
9     0.820106
10    0.490566
11    1.0
──────────────
```

### Optimizer API

```@docs
DEAOptimizer
newdeamodel
```

back to top

Software Heritage — Copyright (C) 2015–2025, 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