Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MRIBuilder.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michiel Cottaar
MRIBuilder.jl
Commits
cabad4c4
Unverified
Commit
cabad4c4
authored
Aug 2, 2024
by
Michiel Cottaar
Browse files
Options
Downloads
Patches
Plain Diff
Increase default tolerance
parent
9ff2b61a
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!5
Resolve "Allow slice selection"
Pipeline
#25014
failed
Aug 2, 2024
Stage: test
This commit is part of merge request
!5
. Comments created here will be created in the context of that merge request.
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/build_sequences.jl
+2
-2
2 additions, 2 deletions
src/build_sequences.jl
with
2 additions
and
2 deletions
src/build_sequences.jl
+
2
−
2
Edit
View file @
cabad4c4
module
BuildSequences
module
BuildSequences
import
JuMP
:
Model
,
optimizer_with_attributes
,
optimize!
,
AbstractJuMPScalar
,
value
,
solution_summary
,
termination_status
,
LOCALLY_SOLVED
,
OPTIMAL
,
num_variables
,
all_variables
,
set_start_value
,
ALMOST_LOCALLY_SOLVED
,
objective_value
,
INVALID_MODEL
,
@variable
,
@objective
,
@constraint
import
JuMP
:
Model
,
optimizer_with_attributes
,
optimize!
,
AbstractJuMPScalar
,
value
,
solution_summary
,
termination_status
,
LOCALLY_SOLVED
,
OPTIMAL
,
num_variables
,
all_variables
,
set_start_value
,
ALMOST_LOCALLY_SOLVED
,
objective_value
,
INVALID_MODEL
,
@variable
,
@objective
,
@constraint
,
raw_status
import
Ipopt
import
Ipopt
import
Juniper
import
Juniper
import
..
Scanners
:
Scanner
,
gradient_strength
,
Default_Scanner
import
..
Scanners
:
Scanner
,
gradient_strength
,
Default_Scanner
...
@@ -139,7 +139,7 @@ function build_sequence(f::Function, scanner::Union{Nothing, Scanner}, optimiser
...
@@ -139,7 +139,7 @@ function build_sequence(f::Function, scanner::Union{Nothing, Scanner}, optimiser
end
end
function
build_sequence
(
f
::
Function
,
scanner
::
Union
{
Nothing
,
Scanner
}
=
Default_Scanner
;
print_level
=
0
,
mu_strategy
=
"adaptive"
,
kwargs
...
)
function
build_sequence
(
f
::
Function
,
scanner
::
Union
{
Nothing
,
Scanner
}
=
Default_Scanner
;
print_level
=
0
,
mu_strategy
=
"adaptive"
,
kwargs
...
)
build_sequence
(
f
,
scanner
,
Ipopt
.
Optimizer
;
print_level
=
print_level
,
mu_strategy
=
mu_strategy
,
kwargs
...
)
build_sequence
(
f
,
scanner
,
Ipopt
.
Optimizer
;
print_level
=
print_level
,
mu_strategy
=
mu_strategy
,
tol
=
1e-12
,
constr_viol_tol
=
1e-12
,
acceptable_constr_viol_tol
=
1e-6
,
kwargs
...
)
end
end
build_sequence
(
f
::
Function
,
optimiser_constructor
;
kwargs
...
)
=
build_sequence
(
f
,
Default_Scanner
,
optimiser_constructor
;
kwargs
...
)
build_sequence
(
f
::
Function
,
optimiser_constructor
;
kwargs
...
)
=
build_sequence
(
f
,
Default_Scanner
,
optimiser_constructor
;
kwargs
...
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment