/
Ipopt.hs
38 lines (35 loc) · 836 Bytes
/
Ipopt.hs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
-- | Description: exports most things you should need
--
-- This module exports most things you should need.
-- Also take a look at "Ipopt.NLP" and "Ipopt.Raw" and @examples/@
module Ipopt (
-- * high-level
-- ** variables
var', var, varFresh', varFresh,
AnyRF(..), Identity(..),
-- ** functions
addG, addF,
-- ** running the solver
ppSoln,
NLPT, nlpstate0,
module Control.Monad.State,
solveNLP',
-- *** solver options
ipopts,
setIpoptProblemScaling,
openIpoptOutputFile,
setIntermediateCallback,
IntermediateCB,
-- * low-level bits still needed
IpOptSolved(..),
ApplicationReturnStatus(..),
-- ** types
Vec, IpNumber,
) where
import Ipopt.PP
import Ipopt.Options
import Ipopt.NLP
import Ipopt.Raw
import Ipopt.AnyRF
import Control.Monad.State
import Control.Monad.Identity (Identity(..))