JsonWriter class to describe the execuion session of an antares xpansion optimization in a json file.
More...
#include <JsonWriter.h>
JsonWriter class to describe the execuion session of an antares xpansion optimization in a json file.
◆ dump()
void Output::JsonWriter::dump |
( |
| ) |
|
|
virtual |
◆ end_writing()
void Output::JsonWriter::end_writing |
( |
const IterationsData & | iterations_data | ) |
|
|
virtual |
◆ initialize()
void Output::JsonWriter::initialize |
( |
| ) |
|
|
virtual |
initialize outputs
- Parameters
-
options | : set of options used for the optimization |
Implements Output::OutputWriter.
◆ solution_status()
std::string Output::JsonWriter::solution_status |
( |
| ) |
const |
|
overridevirtual |
◆ update_solution()
void Output::JsonWriter::update_solution |
( |
const SolutionData & | solution_data | ) |
|
|
virtual |
saves some entries to be later written to the json file
- Parameters
-
solution_data | containing solution data |
Implements Output::OutputWriter.
◆ updateBeginTime()
void Output::JsonWriter::updateBeginTime |
( |
| ) |
|
|
overridevirtual |
◆ updateEndTime()
void Output::JsonWriter::updateEndTime |
( |
| ) |
|
|
overridevirtual |
◆ write_duration()
void Output::JsonWriter::write_duration |
( |
const double | duration | ) |
|
|
overridevirtual |
◆ write_iteration()
void Output::JsonWriter::write_iteration |
( |
const Iteration & | iteration_data, |
|
|
const size_t | iteration_num ) |
|
overridevirtual |
◆ write_log_level()
void Output::JsonWriter::write_log_level |
( |
const int | log_level | ) |
|
|
overridevirtual |
◆ write_master_name()
void Output::JsonWriter::write_master_name |
( |
const std::string & | master_name | ) |
|
|
overridevirtual |
◆ write_nbweeks()
void Output::JsonWriter::write_nbweeks |
( |
const int | nb_weeks | ) |
|
|
overridevirtual |
◆ write_solution()
void Output::JsonWriter::write_solution |
( |
const SolutionData & | solution | ) |
|
|
overridevirtual |
◆ write_solver_name()
void Output::JsonWriter::write_solver_name |
( |
const std::string & | solver_name | ) |
|
|
overridevirtual |
◆ WriteProblem()
void Output::JsonWriter::WriteProblem |
( |
const ProblemData & | problem_data | ) |
|
|
overridevirtual |
◆ WriteProblemFormat()
void Output::JsonWriter::WriteProblemFormat |
( |
const std::string | format | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- src/cpp/benders/output/include/antares-xpansion/benders/output/JsonWriter.h
- src/cpp/benders/output/JsonWriter.cpp