Conversation
Co-authored-by: Hiromi Ishii <h.ishii@j-ij.com>
Mention the fixes on bound variables in slice notation.
…ion ranges (#123) Update the release note to include the latest changes.
Describes the changes in upcoming release: now dependent variables are registered to OMMX instance!
Add random instance generation tutorial
Co-authored-by: NY57 <121103446+NY57@users.noreply.github.com>
Co-authored-by: NY57 <121103446+NY57@users.noreply.github.com>
# 変更点
- [NamedExprの概要 / 2つの利用方法の提示] -> [式の命名] -> [インスタンスへの保存]
という説明順序になるように構成を見直しました
- 合わせて、`jijmodeling.Problem.named_exprs`,
`jijmodeling.Compiler.get_named_function_id_by_name`
の説明を簡略化し、TIPSとして記載する形に変更
- 理由: 上記の説明順序の”本筋”から外れている部分であり、TIPSとしてその存在が認知できる程度の説明で十分であると考えたため
- 「インスタンスへの保存」 におけるOMMXインスタンスに保存できる条件について、スカラー式という言葉を使わない形に修正
- 合わせて、保存できる場合の具体例も列挙する形に変更
- 理由: スカラー式という"言葉だけ"では伝わりにくいと考えたため
- 「インスタンスへの保存」 におけるナップサック問題の例について、評価する式を総重量だけに変更
- 理由:
アイテムの重さあたりの価値の寄与を評価する意味とは?という疑問を読者に抱かせないため。元々、このケースを含めたのは”式の配列”の例示をしたかったからだと思われるが、既にOMMXインスタンスに保存できる条件で具体例を示す形に変更したので、削除しても問題ないと考えている
# 注意点
`docs/en/` 側の修正は行っていません。
Named Expression Section
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.
TODO
General Checklist
developbranch so that:uv sync --upgrade --extra devuv pip compile pyproject.toml -o requirements.txt --upgradeto regeneraterequirements.txttask finalize_release_notes -- <VERSION>X.XX.Xin the release note title is replaced with the new version number.developintomainbranch inJijModeling-TutorialsAfter Merge
vX.XX.Xin themain