Go to the source code of this file.
|
| | ABSL_FLAG (double, step_size, 0.95, "Stepsize for gradient ascent, determined as step_size^t.") |
| |
| | ABSL_FLAG (int, max_iterations, 1000, "Max number of iterations for gradient ascent.") |
| |
| | ABSL_FLAG (bool, dualize_resource_1, true, "If true, the side constraint associated to resource 1 is dualized.") |
| |
| | ABSL_FLAG (bool, dualize_resource_2, false, "If true, the side constraint associated to resource 2 is dualized.") |
| |
| | ABSL_FLAG (bool, lagrangian_output, false, "If true, shows the iteration log of the subgradient ascent " "procedure use to solve the Lagrangian problem") |
| |
| int | main (int argc, char **argv) |
| |
◆ ABSL_FLAG() [1/5]
| ABSL_FLAG |
( |
bool |
, |
|
|
dualize_resource_1 |
, |
|
|
true |
, |
|
|
"If |
true, |
|
|
the side constraint associated to resource 1 is dualized." |
|
|
) |
| |
◆ ABSL_FLAG() [2/5]
| ABSL_FLAG |
( |
bool |
, |
|
|
dualize_resource_2 |
, |
|
|
false |
, |
|
|
"If |
true, |
|
|
the side constraint associated to resource 2 is dualized." |
|
|
) |
| |
◆ ABSL_FLAG() [3/5]
| ABSL_FLAG |
( |
bool |
, |
|
|
lagrangian_output |
, |
|
|
false |
, |
|
|
"If |
true, |
|
|
shows the iteration log of the subgradient ascent " "procedure use to solve the Lagrangian problem" |
|
|
) |
| |
◆ ABSL_FLAG() [4/5]
| ABSL_FLAG |
( |
double |
, |
|
|
step_size |
, |
|
|
0. |
95, |
|
|
"Stepsize for gradient |
ascent, |
|
|
determined as step_size^t." |
|
|
) |
| |
◆ ABSL_FLAG() [5/5]
| ABSL_FLAG |
( |
int |
, |
|
|
max_iterations |
, |
|
|
1000 |
, |
|
|
"Max number of iterations for gradient ascent." |
|
|
) |
| |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ kZeroTol
| constexpr double kZeroTol = 1.0e-8 |
|
constexpr |