From 6b7bb16d8294179e372978fd400bb27a2ad7743b Mon Sep 17 00:00:00 2001 From: Henri Lefebvre Date: Fri, 24 Jan 2025 17:07:23 +0100 Subject: [PATCH] update css --- docs/_static/design.css | 14 +++++++++----- .../mixed-integer/modeling/constraints/Ctr.h | 17 ----------------- .../idol/mixed-integer/modeling/variables/Var.h | 15 --------------- 3 files changed, 9 insertions(+), 37 deletions(-) diff --git a/docs/_static/design.css b/docs/_static/design.css index 5829e7724..ec3e9b4fe 100644 --- a/docs/_static/design.css +++ b/docs/_static/design.css @@ -7,12 +7,16 @@ body { font-size: 20px; } -.k, .n, .kt { - margin-right: 10px; -} +#doxygen { + + .k, .n, .kt { + margin-right: 10px; + } + + .cpp > dd { + margin-bottom: 30px; + } -.cpp dd { - margin-bottom: 20px; } .content:not(.custom) { diff --git a/lib/include/idol/mixed-integer/modeling/constraints/Ctr.h b/lib/include/idol/mixed-integer/modeling/constraints/Ctr.h index 6ad191957..09fe8621c 100644 --- a/lib/include/idol/mixed-integer/modeling/constraints/Ctr.h +++ b/lib/include/idol/mixed-integer/modeling/constraints/Ctr.h @@ -26,23 +26,6 @@ namespace idol { class Ctr; } -/** - * Constraint modeling-old object. - * - * The class is used to represent a constraint in an optimization model. - * - * Constraints can be created by calling a constructor of `Ctr`, passing the optimization environment which will store - * the constraint's versions as argument. The constraint can then be added to a model using the `Model::add` method. - * - * Another approach is to directly use the `Model::add_ctr` method. - * - * Note that constraints are created naturally by using intermediate temporary constraints `TempCtr` using operators such - * as `<=`, `==` and `>=`. For instance, one may do - * - * ```cpp - * model.add_ctr(x + y >= 2.); - * ``` - */ class idol::Ctr : public Object { friend class impl::Env; public: diff --git a/lib/include/idol/mixed-integer/modeling/variables/Var.h b/lib/include/idol/mixed-integer/modeling/variables/Var.h index 314341ccf..91fe851cb 100644 --- a/lib/include/idol/mixed-integer/modeling/variables/Var.h +++ b/lib/include/idol/mixed-integer/modeling/variables/Var.h @@ -24,21 +24,6 @@ namespace idol { template class LinExpr; } - -/** - * Variable modeling-old object. - * - * The class is used to represent a variable in an optimization model. - * - * Variables can be created by calling a constructor of `Var`, passing the optimization environment which will store - * the variable's versions as argument. The variable can then be added to a model using the `Model::add` method. - * - * Another approach is to directly use the `Model::add_var` method. - * - * ```cpp - * Var x = model.add_var(0, 1, Continuous, "x"); - * ``` - */ class idol::Var : public Object { friend class impl::Env; public: