Repository navigation
Document GAMS nodlim as node_limit default and record the def source in the generated option table - #32
Merged
Conversation
…in the generated option table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #31, from the review of the GAMS documentation change that adds the cuOpt solver manual.
assets/optcuopt.def: the description ofnode_limitnow ends with(default GAMS NodLim), liketime_limitanditeration_limit.gmscuopt.calready passes GAMSnodlim(if > 0) as node limit, but the generated option table showed the default as infinity without linking tonodlim. This also changes the option help text that GAMS shows fornode_limit.optdef2md.py: new optional--sourceargument, recorded in the header of the generated table, e.g.--source "GAMS-dev/cuoptlink-builder v0.0.9b"gives<!-- This file is autogenerated by optdef2md.py from optcuopt.def of GAMS-dev/cuoptlink-builder v0.0.9b. -->. Without--sourcethe output is unchanged. Values containing--are rejected since they would end the HTML comment.CONTRIBUTING.md: the generator command includes--source.The
cuopt-v26.12branch needs the samenode_limitline (or gets it when merged withmain).Testing
node_limitrow changes (default now\ref GAMSAOnodlim "GAMS nodlim"); output without--sourceis byte-identical to before apart from that row--source "a--b"exits with an erroroptcuopt.def; all 130 options match the parsed data