Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
pymor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
pyMOR
pymor
Commits
3f707c04
Commit
3f707c04
authored
Dec 03, 2020
by
Tim Keil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[docs/tutorials] avoid specific numbers
parent
25af9539
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
docs/source/tutorial_optimization.rst
docs/source/tutorial_optimization.rst
+2
-9
No files found.
docs/source/tutorial_optimization.rst
View file @
3f707c04
...
...
@@ -462,7 +462,7 @@ enables almost instant evaluations of the primal equation.
As
mentioned
above
,
we
should
not
forget
that
we
required
the
offline
time
to
build
our
surrogate
.
In
our
case
,
the
offline
time
is
still
low
enough
to
get
a
speed
up
over
the
FOM
optimization
.
Luckily
,
``
atol
=
1e-2
``
was
enough
to
achieve
an
absolute
error
of
``
1.35
e-06
``
``
atol
=
1e-2
``
was
enough
to
achieve
an
absolute
error
of
roughly
``
1
e-06
``
but
it
is
important
to
notice
that
we
do
not
know
this
error
before
choosing
``
atol
``.
...
...
@@ -820,7 +820,7 @@ the greedy.
Now
,
we
actually
only
needed
:
math
:`
4
`
enrichments
and
ended
up
with
an
approximation
error
of
``
3.48
e-07
``
while
getting
the
highest
speed
up
approximation
error
of
about
``
1
e-07
``
while
getting
the
highest
speed
up
amongst
all
methods
that
we
have
seen
above
.
To
conclude
,
we
once
again
compare
all
methods
that
we
have
discussed
in
this
notebook
.
...
...
@@ -849,13 +849,6 @@ compare all methods that we have discussed in this notebook.
:
hide
-
code
:
:
hide
-
output
:
assert
np
.
isclose
(
np
.
linalg
.
norm
(
fom_result
.
x
-
reference_mu
),
5.94e-06
)
assert
np
.
isclose
(
np
.
linalg
.
norm
(
rom_result
.
x
-
reference_mu
),
5.98e-07
)
assert
np
.
isclose
(
np
.
linalg
.
norm
(
opt_fom_result
.
x
-
reference_mu
),
0.00e+00
)
assert
np
.
isclose
(
np
.
linalg
.
norm
(
opt_rom_result
.
x
-
reference_mu
),
6.58e-07
)
assert
np
.
isclose
(
np
.
linalg
.
norm
(
opt_along_path_result
.
x
-
reference_mu
),
6.58e-07
)
assert
np
.
isclose
(
np
.
linalg
.
norm
(
opt_along_path_adaptively_result
.
x
-
reference_mu
),
3.48e-07
)
assert
fom_result
.
nit
==
10
assert
opt_along_path_result
.
nit
==
8
assert
opt_along_path_minimization_data
[
'num_evals'
]
==
10
...
...
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