Comments (1)
I am adding more info with the following error that occurred after waiting on a stagnated pyramid pso.
2023-10-26 07:42:52,778 - pyswarms.single.general_optimizer - INFO - Optimize for 500 iters with {'c1': 0.5, 'c2': 0.5, 'w': 0.5, 'r': 15, 'p': 1}
pyswarms.single.general_optimizer: 0%| |0/500
Traceback (most recent call last):
File "/home/sneofytides/.local/lib/python3.10/site-packages/pyswarms/backend/topology/pyramid.py", line 76, in compute_gbest
pyramid = Delaunay(
File "_qhull.pyx", line 1827, in scipy.spatial._qhull.Delaunay.init
File "_qhull.pyx", line 353, in scipy.spatial._qhull._Qhull.init
scipy.spatial._qhull.QhullError: QH7038 qhull option warning: joggle ('QJ') produces simplicial output (i.e., triangles in 2-D). Unless merging is requested, option 'Qt' has no effect
QH6235 qhull error (qh_memalloc): negative request size (-2104280056). Did int overflow due to high-D?
While executing: | qhull d Qt QJ0.001 Qc Qbb Qx
Options selected for Qhull 2019.1.r 2019/06/21:
run-id 1226680527 delaunay Qtriangulate QJoggle 0.001 Qcoplanar-keep
Qbbound-last Qxact-merge _zero-centrum Qinterior-keep
Q3-no-merge-vertices-dim-high Pgood _run 1 _joggle-seed 16807
_max-width 1 Error-roundoff 3e-14 _one-merge 1.6e-12 _near-inside 0.01
Visible-distance 1.8e-13 U-max-coplanar 1.8e-13 Width-outside 3.6e-13
_wide-facet 1.1e-12 _maxoutside 1.6e-12
Last point added to hull was p21.
At error exit:
Delaunay triangulation by the convex hull of 50 points in 26-d:
Number of input sites: 39
Total number of nearly incident points: 11
Number of Delaunay regions: 7050044
Statistics for: | qhull d Qt QJ0.001 Qc Qbb Qx
Number of points processed: 38
Number of hyperplanes created: 6373192
Number of facets in hull: 8428051
Number of distance tests for qhull: 6276385
Input joggled by: 0.001
Maximum distance of point above facet: 0.0051
Maximum distance of vertex below facet: -0.0051
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sneofytides/salinity/pyramid_tuning_8.py", line 126, in
cost, pos = optimizer.optimize(f, iters=iters)
File "/home/sneofytides/.local/lib/python3.10/site-packages/pyswarms/single/general_optimizer.py", line 252, in optimize
self.swarm.best_pos, self.swarm.best_cost = self.top.compute_gbest(
File "/home/sneofytides/.local/lib/python3.10/site-packages/pyswarms/backend/topology/pyramid.py", line 76, in compute_gbest
pyramid = Delaunay(
KeyboardInterrupt
from pyswarms.
Related Issues (20)
- Problem with conditional functions in multi-dimension particles
- How to define a discrete design space when using pyswarms.discrete.binary module
- Final Best Position Logical Error
- init_pos does not seem to work as expected
- TypeError: f() got an unexpected keyword argument 'print_step'
- Tests fail with Matplotlib 3.7
- A toy problem example - need help to use PySwarms
- Release missmatch (Missing release on github)
- Having Issue in optimizer HOT 1
- mean_neighbor_cost value in history Tuple of optimizers
- parallel pyswarms not working
- TypeError: '<' not supported between instances of 'generator' and 'float' HOT 1
- Test failures
- Dependency on future
- Typo Error in Documentation: Incorrect Hyperlink for use case examples in Launching Pad Section
- ValueError: Unable to configure handler 'file_default' HOT 2
- The new open-source Python library **PyPop7** can be used as an alternative to this widely used library for PSO.
- Pyswarms changes dtype from pyten.mp.MPS() to np.ndarray()
- 3D Plotting Broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyswarms.