Skip to content

SMLP tutorial#49

Merged
mdmitry1 merged 71 commits intomasterfrom
poly_pareto
Mar 27, 2026
Merged

SMLP tutorial#49
mdmitry1 merged 71 commits intomasterfrom
poly_pareto

Conversation

@mdmitry1
Copy link
Copy Markdown
Collaborator

@mdmitry1 mdmitry1 commented Feb 9, 2026

This tutorial has SMLP 3 examples of various complexities:

Example Variables Objectives Constraints Difficulty
Eggholder 2 1 None High (multi-modal)
DORA 2 1 1 (circular) Low (convex)
BNH 2 2 2 (non-linear) Medium

Each example contains:

  1. Reference
  2. Push button script
  3. Vizualization

Copy link
Copy Markdown
Collaborator Author

@mdmitry1 mdmitry1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial revision - please, review

@mdmitry1 mdmitry1 marked this pull request as draft February 9, 2026 14:25
Copy link
Copy Markdown
Collaborator Author

@mdmitry1 mdmitry1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added explicit mention that SMLP supports black-box functions

Copy link
Copy Markdown
Collaborator Author

@mdmitry1 mdmitry1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Added black-box optimization applications reference to README.md
  2. Added reference to black box function definition used in the README.md file
  3. Added SMLP flow stages description
  4. Multiple style improvements

@mdmitry1 mdmitry1 requested review from zurabksmlp and removed request for zurabk February 10, 2026 09:15
Copy link
Copy Markdown
Collaborator Author

@mdmitry1 mdmitry1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed typo in the file name

Copy link
Copy Markdown
Collaborator Author

@mdmitry1 mdmitry1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added certify example .

Copy link
Copy Markdown
Collaborator Author

@mdmitry1 mdmitry1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Synch with smlp_python311 branch

@fbrausse fbrausse removed their request for review March 14, 2026 13:06
Copy link
Copy Markdown
Collaborator Author

@mdmitry1 mdmitry1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Synch with main branch

Copy link
Copy Markdown
Collaborator Author

@mdmitry1 mdmitry1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merged with main branch.
After merge there is only one file change in README.md.

@mdmitry1 mdmitry1 mentioned this pull request Mar 25, 2026
25 tasks
Copy link
Copy Markdown
Collaborator Author

@mdmitry1 mdmitry1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Changed smlp script name to be just smlp.
  2. Updated intel test bench location after merge with master
  3. Validate results in virtual environment and Docker container

@zurabksmlp
Copy link
Copy Markdown
Collaborator

Suggestions to improve README.md

  1. Constraint defining set is comprised of known functions, which are defined by Python expressions --> both the English and description precision desire improvement
  2. In future it may be extended to other modes. --> probably can be omitted, this statement is not informative
  3. Optimization: model and constraints are used to find objective function(s) minimum considering input constraints --> SMLP computes maximum, to compute a minimum the objective functions are usually negated
  4. Handle single and multi-objective optimization --> I think it must be single- and multi-objective .... (added "-" after "singe:).
  5. variables: Define input variables (knobs) and output variables --> variables: Define input variables, knobs (parameters), and output variables
  6. rad-abs: Radius for absolute perturbation (0.0 = exact values) --> rad-abs: Radius for absolute perturbation of knobs (0.0 = exact values)
  7. alpha: Constraint expression using variable labels --> alpha: Constraint expression using input and knob labels
  8. Verification --> ### Results' Verification

  9. pip install numpy matplotlib pandas seaborn --> These will be SMLP installation, so are not needed here?
  10. Intel example is not described. In case it uses beta constraints, than a description can me added after description of alpha constraints (can copy-paste or adapt from SMLP manual).

Most of the above comments are recommendations, some suggest to fix inaccuracies. None are blocking the PR appeal. I will rerun the the tutorial script and then approve.

…env <command>

2. Removed matplotlib.use('Tkagg') from examples/si/smlp/plot_results.py
@fbrausse fbrausse added release Confirmed to be release related labels Mar 26, 2026
Copy link
Copy Markdown
Collaborator

@zurabksmlp zurabksmlp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving this PR.

@mdmitry1 mdmitry1 merged commit 9699141 into master Mar 27, 2026
@mdmitry1 mdmitry1 deleted the poly_pareto branch March 28, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Confirmed to be release related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants