next | previous | forward | backward | up | top | index | toc | Macaulay2 website
MonodromySolver :: selectBestEdgeAndDirection

selectBestEdgeAndDirection -- selects edge and direction based on highest potential for obtaining new information


By default, the solver option SelectEdgeAndDirection is set to selectRandomEdgeAndDirection; it may be changed to selectBestEdgeAndDirection as shown below. This will return an error unless the option Potential is also set.

i1 : R = CC[a,b,c,d][x,y];
i2 : polys = polySystem {a*x+b*y^2,c*x*y+d};
i3 : (V,npaths) = monodromySolve(polys,SelectEdgeAndDirection=>selectBestEdgeAndDirection, Potential=>potentialLowerBound)

o3 = (HomotopyNode{...7...}, 3)

o3 : Sequence

See also

For the programmer

The object selectBestEdgeAndDirection is a function closure.