2

I would like to get some parameters from IPOPT, like for instance,


Using Ipopt 
k = barrier_tol_factor 

I know this doesn't work. Does anyone now how I can access thoes?

I tried with

Ipopt.barrier_tol_factor 
Annaquest
  • 131
  • 6

1 Answers1

2

It seems getting the current option value is tricky. But you can set this option and then the value should be known:

Ipopt.AddIpoptNumOption(solver, "barrier_tol_factor", 15.0)

BTW the default value is 10.0.

Dan Getz
  • 17,002
  • 2
  • 23
  • 41