MC++
|
Options of mc::McCormick.
#include <mccormick.hpp>
Public Member Functions | |
Options () | |
Constructor. | |
Public Attributes | |
bool | ENVEL_USE |
Whether to compute convex/concave envelopes for the neither-convex-nor-concave univariate functions such as odd power terms, sin, cos, asin, acos, tan, atan, erf, erfc. This provides tighter McCormick relaxations, but it is more time consuming. Junction points are computed using the Newton or secant method first, then the more robust golden section search method if unsuccessful. | |
unsigned int | ENVEL_MAXIT |
Maximum number of iterations for determination function points in convex/concave envelopes of univariate terms. | |
double | ENVEL_TOL |
Termination tolerance for determination function points in convex/concave envelopes of univariate terms. | |
bool | MVCOMP_USE |
Whether to use Tsoukalas & Mitsos's multivariate composition result for min/max, product, and division terms; see [Tsoukalas & Mitsos, 2012]. This provides tighter McCormick relaxations, but it is more time consuming. | |
double | MVCOMP_TOL |
Tolerance for testing equality in subgradient propagation for product terms with Tsoukalas & Mitsos's multivariate composition result; see [Tsoukalas & Mitsos, 2012]. | |
unsigned int | DISPLAY_DIGITS |
Number of digits displayed with << operator (default=5) | |