Scippy

SoPlex

Sequential object-oriented simPlex

spxscaler.cpp
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the class library */
4 /* SoPlex --- the Sequential object-oriented simPlex. */
5 /* */
6 /* Copyright (C) 1996-2020 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SoPlex is distributed under the terms of the ZIB Academic Licence. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SoPlex; see the file COPYING. If not email to soplex@zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file spxscaler.hpp
17  * @brief LP scaling base class.
18  */
19 
20 #include <cmath>
21 
22 #include <iostream>
23 #include <assert.h>
24 #include "soplex/spxscaler.h"
25 #include "soplex/spxlp.h"
26 #include "soplex/dsvector.h"
27 #include <limits>
28 
29 namespace soplex
30 {
31 
32 
33 template <>
35  const DataArray<int>& oldScaleExp) const
36 {
37  // This should never be called.
38  // Refer to issue 164 in soplex gitlab
39 
40  assert(false);
41 
42  return 0;
43 }
44 
45 } // namespace soplex
Everything should be within this namespace.
LP scaling base class.
Saving LPs in a form suitable for SoPlex.
Dynamic sparse vectors.
virtual int computeScaleExp(const SVectorBase< R > &vec, const DataArray< int > &oldScaleExp) const
compute a single scaling vector , e.g. of a newly added row