-
Notifications
You must be signed in to change notification settings - Fork 161
Fixing broken links #1028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing broken links #1028
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -98,7 +98,7 @@ If you have built it locally, libcuopt.so will be in the build directory ``cpp/b | |||||
| # Find the libcuopt library and assign to LIBCUOPT_LIBRARY_PATH | ||||||
| LIBCUOPT_LIBRARY_PATH=$(find / -name "libcuopt.so" 2>/dev/null) | ||||||
|
|
||||||
| A sample MILP MPS file (:download:`download mip_sample.mps <examples/mip_sample.mps>`): | ||||||
| A sample MILP MPS file (:download:`download mip_sample.mps <https://raw.githubusercontent.com/coin-or/SYMPHONY/master/Datasets/sample.mps>`): | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep the downloadable MPS file aligned with the included sample. Line 101 now downloads an external file, while Line 103 and the expected output still correspond to Suggested fix-A sample MILP MPS file (:download:`download mip_sample.mps <https://raw.githubusercontent.com/coin-or/SYMPHONY/master/Datasets/sample.mps>`):
+A sample MILP MPS file (:download:`download mip_sample.mps <examples/mip_sample.mps>`):As per coding guidelines: 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
|
|
||||||
| .. literalinclude:: examples/mip_sample.mps | ||||||
| :language: text | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -407,7 +407,7 @@ In the case of batch mode, you can send a bunch of ``mps`` files at once, and ac | |||||
| .. note:: | ||||||
| Batch mode is not available for MILP problems. | ||||||
|
|
||||||
| A sample MPS file (:download:`sample.mps <lp/examples/sample.mps>`): | ||||||
| A sample MPS file (:download:`sample.mps <https://people.math.sc.edu/Burkardt/datasets/mps/testprob.mps>`): | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use the same MPS artifact for display, download, and CLI steps. Line 410 points to an external dataset, but Line 412 and the example commands use local Suggested fix-A sample MPS file (:download:`sample.mps <https://people.math.sc.edu/Burkardt/datasets/mps/testprob.mps>`):
+A sample MPS file (:download:`sample.mps <lp/examples/sample.mps>`):As per coding guidelines: 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
|
|
||||||
| .. literalinclude:: lp/examples/sample.mps | ||||||
| :language: text | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Download target should match the literalincluded sample file.
At Line 94, the external
sample.mpsmay differ from the localexamples/sample.mpsshown at Line 96 and used for the documented output, which can break the example flow.Suggested fix
As per coding guidelines:
docs/**/*: “Accuracy: Verify code examples compile and run correctly” and “Consistency: Version numbers, parameter types, and terminology match code.”📝 Committable suggestion
🤖 Prompt for AI Agents