Skip to content

Commit a157534

Browse files
committed
Reduce used IPOPT API
1 parent 4c1004e commit a157534

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

include/pyoptinterface/ipopt_model.hpp

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,13 @@
33
#include "solvers/ipopt/IpStdCInterface.h"
44
#include "pyoptinterface/nleval.hpp"
55

6-
#define APILIST \
7-
B(CreateIpoptProblem); \
8-
B(FreeIpoptProblem); \
9-
B(AddIpoptStrOption); \
10-
B(AddIpoptNumOption); \
11-
B(AddIpoptIntOption); \
12-
B(OpenIpoptOutputFile); \
13-
B(SetIpoptProblemScaling); \
14-
B(SetIntermediateCallback); \
15-
B(IpoptSolve); \
16-
B(GetIpoptCurrentIterate); \
17-
B(GetIpoptCurrentViolations);
6+
#define APILIST \
7+
B(CreateIpoptProblem); \
8+
B(FreeIpoptProblem); \
9+
B(AddIpoptStrOption); \
10+
B(AddIpoptNumOption); \
11+
B(AddIpoptIntOption); \
12+
B(IpoptSolve);
1813

1914
namespace ipopt
2015
{

0 commit comments

Comments
 (0)