{ } Raw JSON

bundles / scipy latest / scipy / optimize / _shgo / SHGO / sampled_surface

function

scipy.optimize._shgo:SHGO.sampled_surface

source: /scipy/optimize/_shgo.py :1441

Signature

def   sampled_surface ( self infty_cons_sampl = False )

Summary

Sample the function surface.

Extended Summary

There are 2 modes, if infty_cons_sampl is True then the sampled points that are generated outside the feasible domain will be assigned an inf value in accordance with SHGO rules. This guarantees convergence and usually requires less objective function evaluations at the computational costs of more Delaunay triangulation points.

If infty_cons_sampl is False, then the infeasible points are discarded and only a subspace of the sampled points are used. This comes at the cost of the loss of guaranteed convergence and usually requires more objective function evaluations.

Aliases

  • scipy.optimize._shgo.SHGO.sampled_surface