kenjydem / CUTEST.py

3 stars 2 forks source link

Recognizing infinite bounds #16

Closed lambe closed 7 years ago

lambe commented 7 years ago

In HS21MOD, several variables have explicit bounds of 1.0D+30 or -1.0D-30. When the problem is compiled in CUTEst itself, these bounds are identified as +infinity and -infinity, based on the command line output. However, because they are explicit numbers, they are treated as finite in the CUTEstModel.

I don't know if there is a consistent rule in CUTEst about translating very large numbers as infinity. (Someone should look it up.) If there is, we should use the same rule in CUTEST.py. If there isn't, we should come with our own rule.

dpo commented 7 years ago

Yes we should. Infinity in CUTEst is 1.0D+20. Any bound beyond that should be considered as nonexistent.

dpo commented 7 years ago

Why was this closed? Is it already implemented?

kenjydem commented 7 years ago

It was fixed on the commit #8b4376f