Skip to content

Commit

Permalink
Merge pull request #63 from IBM/v0.5.7.0b
Browse files Browse the repository at this point in the history
V0.5.7.0
  • Loading branch information
victorterpstra authored Nov 26, 2024
2 parents 33bf53f + 2a41a90 commit f3cf228
Show file tree
Hide file tree
Showing 46 changed files with 1,372 additions and 527 deletions.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,24 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

[Unreleased]## [0.5.5.2b7]
[Unreleased]## [0.5.7.1b0]

## [0.5.7.0]- 2024-11-26
### Changed
- BACKWARD INCOMPATIBILITY - ScenarioDbManager.__init__: changed default values for db_type=DatabaseType.SQLite. For other uses (DB2 or PostgreSQL, always specify the db_type.
- BACKWARD INCOMPATIBILITY - ScenarioDbManager.__init__: changed default values for enable_scenario_seq=True, future=True. This reflects the current best practices.
- BACKWARD INCOMPATIBILITY - Removed ScenarioDbManager from `dse_do_utils.__init__.py`. This avoids the dependency on sqlalchemy with use of dse_do_utils where the ScenarioDbManager is not used.
Introduces a slight backward incompatibility. Need to import as: `from dse_do_utils.scenariodbmanager import ScenarioDbManager`
- Removed (deprecated) `module_reload()` from `dse_do_utils.__init__.py`. In notebooks `autoreload` works well,
- Generics in ScenarioRunner
- Removed deprecated optional argument `dtypes` from `Core01DataManager.prepare_output_data_frames()`
- Fixed mutable default arguments in scenariodbmanager module
### Added
- CplexDot in core01_optimization_engine: generic function class to use groupby aggregation and the mdl.dot() function.
- PlotlyManager - self.ref_dm, self.ms_inputs, self.ms_outputs property declarations and documentation
- PlotlyManager.plotly_kpi_compare_bar_charts and .get_multi_scenario_table for scenario compare
- Core01DataManager and Core01OptimizationEngine: added support for parameter `mipGap`. Sets the `mdl.parameters.mip.tolerances.mipgap` if value > 0
- DataManager.extract_solution adds option `allow_mixed_type_columns`. If True allows dvar/expr in column to be a regular Python value and not have the `solution_value` attribute

## [0.5.6.0]- 2023-05-13
### Changed
Expand Down
Binary file modified docs/doc_build/doctrees/dse_do_utils.doctree
Binary file not shown.
Binary file modified docs/doc_build/doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/doc_build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: a9df07955c95961d749fd73c1e7644d5
config: ef4c938c6f3ee2a22e6bb6b81cef0c3d
tags: 645f666f9bcd5a90fca523b33c5a78b7
185 changes: 0 additions & 185 deletions docs/doc_build/html/_modules/dse_do_utils.html

This file was deleted.

10 changes: 4 additions & 6 deletions docs/doc_build/html/_modules/dse_do_utils/cpd25utilities.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>dse_do_utils.cpd25utilities &#8212; DSE DO Utils 0.5.6.0 documentation</title>
<title>dse_do_utils.cpd25utilities &#8212; DSE DO Utils 0.5.7.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/bizstyle.css" />

Expand All @@ -33,9 +33,8 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="../../index.html">DSE DO Utils 0.5.6.0 documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../index.html" >Module code</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="../dse_do_utils.html" accesskey="U">dse_do_utils</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="../../index.html">DSE DO Utils 0.5.7.0 documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../index.html" accesskey="U">Module code</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">dse_do_utils.cpd25utilities</a></li>
</ul>
</div>
Expand Down Expand Up @@ -213,9 +212,8 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="../../index.html">DSE DO Utils 0.5.6.0 documentation</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="../../index.html">DSE DO Utils 0.5.7.0 documentation</a> &#187;</li>
<li class="nav-item nav-item-1"><a href="../index.html" >Module code</a> &#187;</li>
<li class="nav-item nav-item-2"><a href="../dse_do_utils.html" >dse_do_utils</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">dse_do_utils.cpd25utilities</a></li>
</ul>
</div>
Expand Down
Loading

0 comments on commit f3cf228

Please sign in to comment.