Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ['1.0', '1'] # Test against LTS and current minor release
version: ['1'] # Test against current minor release
os: [ubuntu-latest]
arch: [x64]
include:
# Also test against 32-bit Linux on LTS.
- version: '1.0'
# Also test against 32-bit Linux
- version: '1'
os: ubuntu-latest
arch: x86
steps:
Expand Down
13 changes: 8 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
name = "AmplNLWriter"
uuid = "7c4d4715-977e-5154-bfe0-e096adeac482"
version = "0.7.2"
version = "0.8.0"

[deps]
Ipopt = "b6b21f68-93f8-5de0-b562-5493be1d77c9"
Ipopt_jll = "9cc047cb-c261-5740-88fc-0cf96f7bdcc7"
MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"

[compat]
Ipopt = "0.6"
Ipopt = "0.8"
Ipopt_jll = "3.13.2"
MathOptInterface = "0.9.13"
julia = "1"
MathOptInterface = "0.10.5"
julia = "1.6"

[extras]
Ipopt = "b6b21f68-93f8-5de0-b562-5493be1d77c9"
Ipopt_jll = "9cc047cb-c261-5740-88fc-0cf96f7bdcc7"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "Ipopt", "Ipopt_jll"]
test = ["Pkg", "Test", "Ipopt", "Ipopt_jll"]
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# AmplNLWriter.jl

[![Build Status](https://github.com/jump-dev/AmplNLWriter.jl/workflows/CI/badge.svg?branch=master)](https://github.com/jump-dev/AmplNLWriter.jl/actions?query=workflow%3ACI)
[![MINLPTests](https://github.com/jump-dev/AmplNLWriter.jl/workflows/MINLPTests/badge.svg?branch=master)](https://github.com/jump-dev/AmplNLWriter.jl/actions?query=workflow%3AMINLPTests)
[![codecov](https://codecov.io/gh/jump-dev/AmplNLWriter.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/jump-dev/AmplNLWriter.jl)

AmplNLWriter.jl is an interface between [MathOptInterface.jl](https://github.com/jump-dev/MathOptInterface.jl)
and [AMPL-enabled solvers](http://ampl.com/products/solvers/all-solvers-for-ampl/).

*Development of AmplNLWriter.jl is community driven and has no official
*Note: this wrapper is maintained by the JuMP community and has no official
connection with the AMPL modeling language or AMPL Optimization Inc.*

[![Build Status](https://github.com/jump-dev/AmplNLWriter.jl/workflows/CI/badge.svg?branch=master)](https://github.com/jump-dev/AmplNLWriter.jl/actions?query=workflow%3ACI)
[![MINLPTests](https://github.com/jump-dev/AmplNLWriter.jl/workflows/MINLPTests/badge.svg?branch=master)](https://github.com/jump-dev/AmplNLWriter.jl/actions?query=workflow%3AMINLPTests)
[![codecov](https://codecov.io/gh/jump-dev/AmplNLWriter.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/jump-dev/AmplNLWriter.jl)

## Installation

The package can be installed with `Pkg.add`.
Install AmplNLWriter using `Pkg.add`.

```julia
import Pkg
Pkg.add("AmplNLWriter")
```

**Note: AmplNLWriter requires Julia 1.6 or later.**

### Solvers

You also need an AMPL compatible solver.

**Note: the `_jll` packages require Julia 1.6 or later.**

#### Bonmin (https://github.com/coin-or/Bonmin)

To install Bonmin, use:
Expand Down Expand Up @@ -92,7 +92,7 @@ A list of available options for each solver can be found here:
- [Ipopt](https://coin-or.github.io/Ipopt/OPTIONS.html)
- [SHOT](https://shotsolver.dev/shot/using-shot/solver-options)

Set an option using `set_optimizer_attribute`. For example, to set the
Set an option using `set_optimizer_attribute`. For example, to set the
`"bonmin.nlp_log_level"` option to 0 in Bonmin, use:
```julia
using JuMP, AmplNLWriter, Bonmin_jll
Expand All @@ -102,10 +102,10 @@ set_optimizer_attribute(model, "bonmin.nlp_log_level", 0)

### opt files

Some of the options need to be specified via an `.opt` file. This file must be
Some of the options need to be specified via an `.opt` file. This file must be
located in the current working directory whenever the model is solved.

The `.opt` file must be named after the name of the solver, e.g. `bonmin.opt`, and
The `.opt` file must be named after the name of the solver, e.g. `bonmin.opt`, and
each line must contain an option name and the desired value separated by a space.
For instance, to set the absolute and relative tolerances in Couenne to 1 and
0.05 respectively, the `couenne.opt` is:
Expand Down
15 changes: 0 additions & 15 deletions gen/gen.jl

This file was deleted.

Loading