Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 47 additions & 1 deletion docs/en/releases/unreleased.ipynb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions docs/ja/releases/unreleased.ipynb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions markdowns/en/releases/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,24 @@ problem.generate_random_dataset(seed=17)

Starting with this release, data is generated successfully in cases like the example above.

#### Fixed a bug where `latex` specifications were ignored in LaTeX output for decision variable bounds

We fixed a bug where the values of the `latex=` keyword argument for other variables were ignored when outputting decision variable bounds in $\LaTeX$.

```{code-cell} ipython3
import jijmodeling as jm

problem = jm.Problem("LaTeX bugfix example")
L = problem.Float("L", latex=r"\ell")
U = problem.Float("U", latex=r"\mathcal{U}")
x = problem.ContinuousVar("x", lower_bound=L, upper_bound=U)
problem += x

problem
```

In previous releases, the `latex` specifications were ignored in the code above, and the bounds were displayed as $L \leq x \leq U$.
Starting with this release, the settings are preserved as shown above, and the bounds are displayed as $\ell \leq x \leq \mathcal{U}$.

## Other Changes

Expand Down
18 changes: 18 additions & 0 deletions markdowns/ja/releases/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,24 @@ problem.generate_random_dataset(seed=17)

今回のリリースから、上記のように問題なくデータが生成されるようになりました。

#### 決定変数の上下界のLaTeX出力で `latex` 指定が無視されていた問題の修正

決定変数の上下界を $\LaTeX$ 出力する際に、他の変数の `latex=` キーワード引数の値が無視されていた問題を修正しました。

```{code-cell} ipython3
import jijmodeling as jm

problem = jm.Problem("LaTeX bugfix example")
L = problem.Float("L", latex=r"\ell")
U = problem.Float("U", latex=r"\mathcal{U}")
x = problem.ContinuousVar("x", lower_bound=L, upper_bound=U)
problem += x

problem
```

これまでのリリースでは、上記のコードでは `latex` 指定が無視され、$L \leq x \leq U$ のように表示されていましたが、上記のように設定が保たれるようになり、$\ell \leq x \leq \mathcal{U}$ と表示されるようになりました。

## その他の変更

- バージョン条件を緩和し、Python 3.11 以降の任意の Python 3 でのインストールを許容しました。
Loading