Description Usage Arguments Details Value
The current optimization tool requires an interior point of the set we are optimizing over. We assume that the constraints consist of a bounding box (lower and upper bounds on each coordinate) and bounds on the vector sum.
1 | GetInterior(lower.bound, upper.bound, sum.lower.bound, sum.upper.bound)
|
lower.bound: |
vector of lower bounds for each coordinate. |
upper.bound: |
vector of upper bounds for each coordinate. |
sum.lower.bound: |
numeric, lower bound on the sum of all coordinates. |
sum.upper.bound: |
numeric, upper bound on the sum of all coordinates. |
This function finds an interior point of the set bounded in each coordinate
by lower bounds lower.bound and upper bounds upper.bound, and
with sum bounded between sum.lower.bound and sum.upper.bound.
It firsts modifies the constraints to be finite, and then finds the point x
along the line passing from lower.bound to upper.bound such that
sum(x) = (sum.lower.bound + sum.upper.bound) / 2.
GetInterior returns a vector representing an interior point in
the set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.