Skip to content

Commit

Permalink
Reduce used IPOPT API
Browse files Browse the repository at this point in the history
  • Loading branch information
metab0t committed Nov 21, 2024
1 parent 4c1004e commit a157534
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions include/pyoptinterface/ipopt_model.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@
#include "solvers/ipopt/IpStdCInterface.h"
#include "pyoptinterface/nleval.hpp"

#define APILIST \
B(CreateIpoptProblem); \
B(FreeIpoptProblem); \
B(AddIpoptStrOption); \
B(AddIpoptNumOption); \
B(AddIpoptIntOption); \
B(OpenIpoptOutputFile); \
B(SetIpoptProblemScaling); \
B(SetIntermediateCallback); \
B(IpoptSolve); \
B(GetIpoptCurrentIterate); \
B(GetIpoptCurrentViolations);
#define APILIST \
B(CreateIpoptProblem); \
B(FreeIpoptProblem); \
B(AddIpoptStrOption); \
B(AddIpoptNumOption); \
B(AddIpoptIntOption); \
B(IpoptSolve);

namespace ipopt
{
Expand Down

0 comments on commit a157534

Please sign in to comment.