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
41
42
43
44
45
46
47
48
49
50
//! Clarabel solver main module.
//!
//! This module contains the main types and traits for the Clarabel solver.
//!
//! The solver comes with a [default implementation](crate::solver::implementations::default)
//! of all required traits. This produces a solver that solves problems in the standard format
//! described in the top level [API page](crate) and the
//! [User's guide](https://oxfordcontrol.github.io/ClarabelDocs/stable). This implementation
//! is the most appropriate choice for nearly all users.
//!
//! It is also possible to implement a custom solver by defining a collection
//! of custom types that together implement all of the required core
//! [traits](crate::solver::core::traits) for
//! objects in Clarabel's core solver.
// internal module structure
pub
//Here we expose only part of the solver internals
//and rearrange public modules a bit to give a more
//user friendly API
//allows declaration of cone constraints
pub use crate;
//user facing traits required to interact with solver
pub use crate;
//user facing traits required to define new implementatiions
pub use cratetraits;
pub use crateCoreSettings;
//If we have implemtations for multple alternative
//problem formats, they would live here. Since we
//only have default, it is exposed at the top level
//in the use statements directly below instead.
// pub mod implementations {
// pub mod default {
// pub use clarabel_solver::implementations::default::*;
// }
// }
pub use cratedefault;
pub use crate*;
//configure tests of internals