Giter Club home page Giter Club logo

Comments (1)

earthtech23 avatar earthtech23 commented on June 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.