hdim-opt: High-Dimensional Optimization Toolkit
Numerical optimization package to accelerate convergence in complex, high-dimensional problems. Includes the QUASAR evolutionary algorithm, HDS QMC sampler, Sobol sensitivity analysis, data analysis / transformations, signal waveform decomposition.
All core functions, listed below, are single-line executable and require three essential parameters: [obj_function, bounds, n_samples]:
-
quasar: QUASAR optimization for high-dimensional problems.
-
hyperellipsoid: Generate a non-uniform hyperellipsoid density sequence.
-
analyze: Numerically analyze any given dataset.
-
sensitivity: Sensitivity analysis to quantify each variable's influence on the objective (via SALib).
-
lorentzian: Fit a Lorentzian/Cauchy kernel density estimation to the data ensemble.
-
isotropize/deisotropize: Isotropize the input data using zero-phase component analysis (ZCA).
-
waveform: Decompose the input waveform signal array into a diagnostic summary.
Installation
Installed via hdim_opt directly from PyPI:
pip install hdim_opt
Example Usage:
import hdim_opt as h
# Parameter Space
n_dimensions = 30
n_samples = 1000
bounds = [(-100,100)] * n_dimensions
obj_func = h.test_functions.rastrigin # Test function
# Sampling
ellipsoid_samples = h.hyperellipsoid(n_samples, bounds, verbose=True) # Hyperellipsoid sampling
iso_samples, iso_params = h.isotropize(ellipsoid_samples) # Isotropize dataset
h.analyze(ellipsoid_samples) # Analyze any dataset
# Optimization
solution, fitness = h.quasar(obj_func, bounds, init=ellipsoid_samples) # Evolutionary optimization
Si, S2 = h.sensitivity(obj_func, bounds) # Sensitivity analysis
kde = h.lorentzian(solution, sigma=150.0, ensemble=ellipsoid_samples, verbose=True) # Lorentzian KDE
# Waveforms
t, signal = h.waveform_analysis.e1_waveform(noise=0.1) # Waveform generation
summary = h.waveform(t,signal) # Waveform analysis
QUASAR Optimizer
QUASAR (Quasi-Adaptive Search with Asymptotic Reinitialization) is a quantum-inspired evolutionary algorithm, highly efficient for minimizing high-dimensional, non-differentiable, and non-parametric objective functions.
- Benefit: Significant improvements in convergence speed and solution quality compared to contemporary optimizers. (Reference: [https://arxiv.org/abs/2511.13843]).
HDS Sampler
HDS (Hyperellipsoid Density Sampling) is a non-uniform Quasi-Monte Carlo sampling method, specifically designed to exploit promising regions of the search space.
- Benefit: Provides control over the sample distribution. Results in higher average optimization solution quality when used for population initialization compared to uniform QMC methods. (Reference: [https://arxiv.org/abs/2511.07836]).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hdim_opt-1.4.5.tar.gz.
File metadata
- Download URL: hdim_opt-1.4.5.tar.gz
- Upload date:
- Size: 37.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6af13fa90160956cc3abd029a9568a217255526d0dc089d64b9ed1e3191bc970
|
|
| MD5 |
277bb269298e933ef1f4c0e841dc6d14
|
|
| BLAKE2b-256 |
6877d507fa2a20cb36c50a656bae4e4a68af70cd7745f9611875cc9aab9cb7bd
|
File details
Details for the file hdim_opt-1.4.5-py3-none-any.whl.
File metadata
- Download URL: hdim_opt-1.4.5-py3-none-any.whl
- Upload date:
- Size: 38.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
491fd619bb34f3aec599503ddc74ea2f13567737c8cd9ab6ea8c7d72fcf177e0
|
|
| MD5 |
ad99a6255a46d904631cac8343ca1884
|
|
| BLAKE2b-256 |
0cf7d3de61a75781b8b2b032ec3512a94e38676161b878ba762ca26c92204af4
|