Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SoPlex 7.1.4
SoPlex 6.0.3
SoPlex 5.0.2
SoPlex 4.0.2
SoPlex 3.1.0
SoPlex 3.0.1
SoPlex 2.2.1
SoPlex
Sequential object-oriented simPlex
src
soplex
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
<>
34
int
SPxScaler<Rational>::computeScaleExp
(
const
SVectorBase<Rational>
& vec,
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
soplex::DataArray< int >
soplex
Everything should be within this namespace.
spxscaler.h
LP scaling base class.
spxlp.h
Saving LPs in a form suitable for SoPlex.
dsvector.h
Dynamic sparse vectors.
soplex::SPxScaler::computeScaleExp
virtual int computeScaleExp(const SVectorBase< R > &vec, const DataArray< int > &oldScaleExp) const
compute a single scaling vector , e.g. of a newly added row
soplex::SVectorBase< Rational >