IDAES / idaes-ext

IDAES developer repo for those building the idaes binary solvers and related tools.
Other
9 stars 11 forks source link

`ipopt_l1` creates files in working directory #275

Open Robbybp opened 3 months ago

Robbybp commented 3 months ago

It appears to automatically set the output_file option. To reproduce, write any Ipopt-compatible model.nl file to a fresh temp directory under the IDAES binary directory (e.g. ~/.idaes/bin). Run:

../ipopt_l1 model.nl -AMPL print_user_options=yes

I see the following options:

List of user-set options:                                                                                  

                                    Name   Value                used
                             output_file = 1723085945115811000   yes
                      print_user_options = yes                   yes

It also writes an l1EPR_timings.txt file to the working directory.

Opening this issue here for visibility, and I'm not sure where the ipopt_l1 source lives.

System info

Platform: ARM Mac Binary version: 3.4.0 ipopt_l1 --version prints: Ipopt 3.13.3 (aarch64-apple-darwin22.5.0), ASL(20190605)

ksbeattie commented 2 months ago

@Robbybp, is this something you will be able to work on? Or who else might we assign this to?

Robbybp commented 2 months ago

David Thierry is the one who originally patched Ipopt to add the L1 restoration phase. I don't really use it, and don't know why or where in the code the files are getting written, so I can't be much use on this other than just pointing out the issue.

Robbybp commented 2 months ago

I would say this is a low priority unless users complain about it.

ksbeattie commented 1 month ago

@Robbybp, given your above comment, I'm taking this off the Nov release board.