Skip to content
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

Fix/nsga iii constraint #190

Merged
merged 3 commits into from
Aug 29, 2023
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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dotnet.defaultSolution": "Tunny.sln"
}
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,32 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

Please see [here](https://github.com/hrntsm/Tunny/releases) for the data released for each version.

## [UNRELEASED] -xxxx-xx-xx

### Added

for new features.

### Changed

for changes in existing functionality.

### Deprecated

for soon-to-be removed features.

### Removed

for now removed features.

### Fixed

- NSGA-III supports constraints, but was getting a message that constraints are not taken into account

### Security

in case of vulnerabilities.

## [v0.8.1] -2023-07-30

### Added
Expand Down
2 changes: 1 addition & 1 deletion Tunny/Solver/Algorithm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ private dynamic SetSamplerSettings(int samplerType, dynamic optuna, bool hasCons
default:
throw new ArgumentException("Unknown sampler type");
}
if (samplerType > 3 && hasConstraints)
if (samplerType > 4 && hasConstraints)
{
TunnyMessageBox.Show("Only TPE, GP and NSGA support constraints. Optimization is run without considering constraints.", "Tunny");
}
Expand Down
Loading