Skip to content

Remove reference to ipopt and unpublish unfinished tutorial #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 30, 2025
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
33 changes: 0 additions & 33 deletions docs/reference/externals.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,39 +194,6 @@ misc/test sundials

To install for the current user, run `make install` as usual.


### Ipopt
Another example use of externals is an interface to the constrained Non-Linear
Program solver [Ipopt](https://coin-or.github.io/Ipopt/). This interface is
defined in [stdlib/ipopt/ipopt.mc](https://github.com/miking-lang/miking/blob/develop/src/stdlib/ipopt/ipopt.mc) and
[stdlib/ipopt/ipopt.ext-ocaml.mc](https://github.com/miking-lang/miking/blob/develop/src/stdlib/ipopt/ipopt.ext-ocaml.mc). This library
depends on both the OCaml library [ipoptml](https://github.com/br4sco/ipoptml)
and the ipopt c library.

To use this library you need to do the following:

Install the ipopt c library, which you can do on ubuntu 20.04 with
```
sudo apt-get install coinor-libipopt-dev
```

Install dependencies for [ipoptml](https://github.com/br4sco/ipoptml),
```
opam install ctypes ctypes-foreign
```

Clone the [ipoptml](https://github.com/br4sco/ipoptml) repo and in its root run
```
dune build
dune install
```

You can then test the solver in Miking with

```
misc/test ipopt
```

### External Dependent Utests Pruning
As part of the parsing (see `prune_external_utests` in `parserutils.ml` for
details) utests that depend on externals are marked and removed. This done in
Expand Down
File renamed without changes.