Add objective function documentation - #11
Draft
nathantgray with Copilot wants to merge 2 commits into
Draft
Conversation
Create docs/objective_functions.md with comprehensive documentation of all available objective functions across matrix, matrix_bess, and pyomo wrappers. Document built-in string objectives, aliases, custom objective signatures, penalized objectives, and low-level Pyomo API. Add an Objective Functions section to README.md with a summary table and custom objective example linking to the full guide. Co-authored-by: nathantgray <18407725+nathantgray@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Improve documentation for objective functions usage
Add objective function documentation
Mar 17, 2026
Copilot stopped work on behalf of
nathantgray due to an error
March 23, 2026 18:13
Collaborator
|
@copilot The main readme should have tables of objective function options for each wrapper type. Each wrapper section should then link to a docs file for each wrapper. That wrapper doc file should have all of the objective function aliases as well as examples for creating custom objectives and explanations for accessing variables. |
Copilot stopped work on behalf of
nathantgray due to an error
March 23, 2026 18:18
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.
Users have no way to discover available objective functions or learn how to write custom ones without reading source code.
Changes
docs/objective_functions.md— New comprehensive guide covering:"loss"→"loss_min", etc.)set_objective,create_penalized_objective, convenience functions)README.md— New "Objective Functions" section with summary table, custom objective example, and link to full guideUsage
Original prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.