1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Format to problem mappings: sources that define a particular calculation
//! parse to the corresponding instance or solution rather than to a bare
//! network.
//!
//! A format does not become a problem instance merely because it contains
//! enough parameters to construct one. DOE GO Challenge 3 JSON defines a
//! security constrained unit commitment, so it maps to [`AcScucInstance`];
//! BMOPF JSON defines a multiconductor AC OPF, so it maps to
//! [`McAcOpfInstance`]; DeepMind OPFData explicitly represents a solved AC
//! OPF, so it maps to [`AcOpfSolution`]. Extracting only the network from
//! any of these values is a separate transformation that reports the
//! discarded problem data.
//!
//! [`AcScucInstance`]: crate::AcScucInstance
//! [`McAcOpfInstance`]: crate::McAcOpfInstance
//! [`AcOpfSolution`]: crate::AcOpfSolution
pub use parse_bmopf_instance;
pub use parse_goc3_instance;
pub use parse_opfdata_solution;
pub use ;
/// The text a reader decodes: the buffer's byte order mark free slice,
/// validated as UTF-8.
pub