Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kirill Terekhov
INMOST
Commits
a3db81b4
Commit
a3db81b4
authored
Mar 19, 2021
by
Kirill Terekhov
Browse files
Correct verbosity output in MLMPTILUC solver
parent
8e8cd3b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/Solver/solver_inner/solver_mlmptiluc/solver_mlmtiluc2.cpp
View file @
a3db81b4
...
...
@@ -3938,12 +3938,17 @@ const INMOST_DATA_ENUM_TYPE UNDEF = ENUMUNDEF, EOL = ENUMUNDEF - 1;
{
if
(
k
%
100
==
0
)
{
std
::
ios
save
(
NULL
);
save
.
copyfmt
(
std
::
cout
);
std
::
cout
<<
"LF "
<<
std
::
setw
(
6
)
<<
std
::
fixed
<<
std
::
setprecision
(
2
)
<<
100.
f
*
(
k
-
cend
+
1
)
/
(
1.
f
*
(
wend
-
cend
));
std
::
cout
<<
" nnz "
<<
std
::
setw
(
10
)
<<
LF_Entries
.
size
()
<<
" drops "
<<
std
::
setw
(
10
)
<<
ndrops_lf
;
std
::
cout
<<
"
\r
"
<<
std
::
flush
;
std
::
cout
.
copyfmt
(
save
);
#if defined(USE_OMP_FACT)
#pragma omp critical
#endif
{
std
::
ios
save
(
NULL
);
save
.
copyfmt
(
std
::
cout
);
std
::
cout
<<
"LF "
<<
std
::
setw
(
6
)
<<
std
::
fixed
<<
std
::
setprecision
(
2
)
<<
100.
f
*
(
k
-
cend
+
1
)
/
(
1.
f
*
(
wend
-
cend
));
std
::
cout
<<
" nnz "
<<
std
::
setw
(
10
)
<<
LF_Entries
.
size
()
<<
" drops "
<<
std
::
setw
(
10
)
<<
ndrops_lf
;
std
::
cout
<<
"
\r
"
<<
std
::
flush
;
std
::
cout
.
copyfmt
(
save
);
}
}
}
// iteration done!
...
...
@@ -4194,12 +4199,17 @@ const INMOST_DATA_ENUM_TYPE UNDEF = ENUMUNDEF, EOL = ENUMUNDEF - 1;
{
if
(
k
%
100
==
0
)
{
std
::
ios
save
(
NULL
);
save
.
copyfmt
(
std
::
cout
);
std
::
cout
<<
"EU "
<<
std
::
setw
(
6
)
<<
std
::
fixed
<<
std
::
setprecision
(
2
)
<<
100.
f
*
(
k
-
cend
+
1
)
/
(
1.
f
*
(
wend
-
cend
));
std
::
cout
<<
" nnz "
<<
std
::
setw
(
10
)
<<
EU_Entries
.
size
()
<<
" drops "
<<
std
::
setw
(
10
)
<<
ndrops_eu
;
std
::
cout
<<
"
\r
"
<<
std
::
flush
;
std
::
cout
.
copyfmt
(
save
);
#if defined(USE_OMP_FACT)
#pragma omp critical
#endif
{
std
::
ios
save
(
NULL
);
save
.
copyfmt
(
std
::
cout
);
std
::
cout
<<
"EU "
<<
std
::
setw
(
6
)
<<
std
::
fixed
<<
std
::
setprecision
(
2
)
<<
100.
f
*
(
k
-
cend
+
1
)
/
(
1.
f
*
(
wend
-
cend
));
std
::
cout
<<
" nnz "
<<
std
::
setw
(
10
)
<<
EU_Entries
.
size
()
<<
" drops "
<<
std
::
setw
(
10
)
<<
ndrops_eu
;
std
::
cout
<<
"
\r
"
<<
std
::
flush
;
std
::
cout
.
copyfmt
(
save
);
}
}
}
}
...
...
@@ -4263,11 +4273,16 @@ const INMOST_DATA_ENUM_TYPE UNDEF = ENUMUNDEF, EOL = ENUMUNDEF - 1;
{
if
(
k
%
100
==
0
)
{
std
::
ios
save
(
NULL
);
save
.
copyfmt
(
std
::
cout
);
std
::
cout
<<
"Schur column norm "
<<
std
::
setw
(
6
)
<<
std
::
fixed
<<
std
::
setprecision
(
2
)
<<
100.
f
*
(
k
-
cend
+
1
)
/
(
1.
f
*
(
wend
-
cend
));
std
::
cout
<<
"
\t\t\r
"
<<
std
::
flush
;
std
::
cout
.
copyfmt
(
save
);
#if defined(USE_OMP_FACT)
#pragma omp critical
#endif
{
std
::
ios
save
(
NULL
);
save
.
copyfmt
(
std
::
cout
);
std
::
cout
<<
"Schur column norm "
<<
std
::
setw
(
6
)
<<
std
::
fixed
<<
std
::
setprecision
(
2
)
<<
100.
f
*
(
k
-
cend
+
1
)
/
(
1.
f
*
(
wend
-
cend
));
std
::
cout
<<
"
\t\t\r
"
<<
std
::
flush
;
std
::
cout
.
copyfmt
(
save
);
}
}
}
}
...
...
@@ -4347,12 +4362,17 @@ const INMOST_DATA_ENUM_TYPE UNDEF = ENUMUNDEF, EOL = ENUMUNDEF - 1;
{
if
(
k
%
100
==
0
)
{
std
::
ios
save
(
NULL
);
save
.
copyfmt
(
std
::
cout
);
std
::
cout
<<
"Schur "
<<
std
::
setw
(
6
)
<<
std
::
fixed
<<
std
::
setprecision
(
2
)
<<
100.
f
*
(
k
-
cend
+
1
)
/
(
1.
f
*
(
wend
-
cend
));
std
::
cout
<<
" nnz "
<<
std
::
setw
(
10
)
<<
S_Entries
.
size
()
<<
" drop S "
<<
ndrops_s
;
std
::
cout
<<
"
\t\t\r
"
<<
std
::
flush
;
std
::
cout
.
copyfmt
(
save
);
#if defined(USE_OMP_FACT)
#pragma omp critical
#endif
{
std
::
ios
save
(
NULL
);
save
.
copyfmt
(
std
::
cout
);
std
::
cout
<<
"Schur "
<<
std
::
setw
(
6
)
<<
std
::
fixed
<<
std
::
setprecision
(
2
)
<<
100.
f
*
(
k
-
cend
+
1
)
/
(
1.
f
*
(
wend
-
cend
));
std
::
cout
<<
" nnz "
<<
std
::
setw
(
10
)
<<
S_Entries
.
size
()
<<
" drop S "
<<
ndrops_s
;
std
::
cout
<<
"
\t\t\r
"
<<
std
::
flush
;
std
::
cout
.
copyfmt
(
save
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment