Conversation
…e converted to lower case
|
The counter point to this is that you could accept only the case sensitive strings and error when something doesn't match? (Shouldn't that already be the case?) |
julia> highs = Highs_create()
Ptr{Nothing}(0x0000000818ef0000)
julia> Highs_setStringOptionValue(highs, "parallel", "On")
ERROR: Value "On" for parallel option is not one of "off", "choose" or "on"
-1Seems good to me... I wonder why the OP didn't realise in #3106? |
|
That's what was done before - other than strings for bool options - but today someone used "On", not "on" for the parallel option. He and I both lost time trying to work out what happened. Of course he didn't check the HighsStatus::kError return 🙄 |
He's just acknowledged that the error logging is there for him to see! |
|
LGTM, should we do it for all options? I guess you are missing the "solver" option in the list |
Do you get this failure with fix-3107 built locally? It runs fine on oronsay and fletcher I saw all the CI test failures, but couldn't see from the logs what was failing |
What I've implemented trims all prospective string option values and converts them to lower case for all but the options that are file names
Which list? I'm confused |
|
No, I got confused! I thought the list of options in possibleLowerCaseOptionValue(.. is a set of which options we will convert to lower case, but it is just an exclusion of the file options, as you say. Yes, I got the failure on my linux laptop! Tested the changes quickly with Possibly deleting the build folder may help you to reproduce |
|
I was building with -DHIPO=on ! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## latest #3108 +/- ##
=======================================
Coverage 73.15% 73.16%
=======================================
Files 430 430
Lines 103937 103967 +30
Branches 16717 16718 +1
=======================================
+ Hits 76039 76067 +28
- Misses 27622 27624 +2
Partials 276 276 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Closes #3107