From 2f78ac9ca96d2b92d8394ca73c95e8f5d3c53ceb Mon Sep 17 00:00:00 2001 From: Gleb Date: Wed, 17 Jan 2024 16:53:27 +1100 Subject: [PATCH] Warnings: precise links #192 #200 --- doc/CMakeLists.txt | 2 +- include/mp/flat/redef/conic/cones.h | 2 +- include/mp/flat/sol_check.h | 2 +- solvers/mosek/mosekbackend.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index ac0eb6901..612e40d0e 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -9,7 +9,7 @@ endif () find_package(Sphinx) if(NOT SPHINX_EXECUTABLE) - message(STATUS "Documentation generation disabled (requires sphinx)") + message(STATUS "Target doc disabled (requires sphinx, see requirements.txt)") return() endif() diff --git a/include/mp/flat/redef/conic/cones.h b/include/mp/flat/redef/conic/cones.h index 72b33ccd8..baba7b5ff 100644 --- a/include/mp/flat/redef/conic/cones.h +++ b/include/mp/flat/redef/conic/cones.h @@ -203,7 +203,7 @@ class ConicConverter : public MCKeeper { "solver might not accept the model.\n" "Try to express all cones in standard forms,\n" "not in the objective.\n" - "See mp.ampl.com/model-guide.html."); + "See mp.ampl.com/modeling-expressions.html#conic-optimization."); } } } diff --git a/include/mp/flat/sol_check.h b/include/mp/flat/sol_check.h index 2f4ae18dd..18565c605 100644 --- a/include/mp/flat/sol_check.h +++ b/include/mp/flat/sol_check.h @@ -52,7 +52,7 @@ class SolutionChecker { warn += msgreal; warn += "*: Using the solver's aux variable values.\n"; } - warn += "Documentation: mp.ampl.com/modeling-tools.html."; + warn += "Documentation: mp.ampl.com/modeling-tools.html#automatic-solution-check."; // Should messages for realistic and idealistic // modes be more coordinated? // I.e., when no expressions. diff --git a/solvers/mosek/mosekbackend.cc b/solvers/mosek/mosekbackend.cc index 0056fe252..1b53ad0f9 100644 --- a/solvers/mosek/mosekbackend.cc +++ b/solvers/mosek/mosekbackend.cc @@ -227,7 +227,7 @@ void MosekBackend::Solve() { "make sure they have standard SOCP forms, and\n" "the objective is linear by moving the\n" "quadratic terms into auxiliary SOC constraints.\n" - "See mp.ampl.com/model-guide.html."); + "See mp.ampl.com/modeling-expressions.html#conic-optimization."); } MOSEK_CCALL( res );