Class BranchAndBound
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Math
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class BranchAndBound
Fields
Debug
Declaration
public static bool Debug
Field Value
Type | Description |
---|---|
Boolean |
Methods
Search(Region, Func<Vector, Double>, Func<Region, Double>, Double)
Finds the input that maximizes a function.
Declaration
public static Vector Search(Region bounds, Func<Vector, double> Evaluate, Func<Region, double> GetUpperBound, double xTolerance = 0.0001)
Parameters
Type | Name | Description |
---|---|---|
Region | bounds | Bounds for the search. |
Func<Vector, Double> | Evaluate | The function to maximize. |
Func<Region, Double> | GetUpperBound | Returns an upper bound to the function in a region. Need not be tight, but must become tight as the region shrinks. |
Double | xTolerance | Allowable relative error in the solution on any dimension. Must be greater than zero. |
Returns
Type | Description |
---|---|
Vector | A Vector close to the global maximum of the function. |