Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MTS implementation #95

Merged
merged 11 commits into from
Aug 21, 2021
Merged

MTS implementation #95

merged 11 commits into from
Aug 21, 2021

Conversation

pizhn
Copy link
Collaborator

@pizhn pizhn commented Jul 6, 2021

Implementation, testcases and doc of algorithm in paper Lin-Yu Tseng and Chun Chen, 2008

@pizhn pizhn requested a review from mohamed82008 July 6, 2021 04:51
src/algorithms/mts.jl Outdated Show resolved Hide resolved
Comment on lines 54 to 61
if debugging[]
function Base.setproperty!(workspace::MTSWorkspace, name::Symbol, x)
if name in [:optimal_x, :optimal_ind, :optimal_val]
println("New ", name, ": ", x)
end
setfield!(workspace, name, x)
end
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't forget to remove it

@codecov-commenter
Copy link

codecov-commenter commented Jul 6, 2021

Codecov Report

Merging #95 (e6bce97) into master (80b76e4) will increase coverage by 2.27%.
The diff coverage is 95.12%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
+ Coverage   68.42%   70.69%   +2.27%     
==========================================
  Files          36       37       +1     
  Lines        2714     2962     +248     
==========================================
+ Hits         1857     2094     +237     
- Misses        857      868      +11     
Impacted Files Coverage Δ
src/Nonconvex.jl 100.00% <ø> (ø)
src/models/vec_model.jl 68.08% <60.00%> (-0.97%) ⬇️
src/algorithms/mts.jl 95.68% <95.68%> (ø)
src/algorithms/common.jl 88.09% <100.00%> (+2.80%) ⬆️
src/wrappers/hyperopt.jl 93.50% <100.00%> (ø)
src/wrappers/percival.jl 83.07% <0.00%> (+0.81%) ⬆️
src/models/model.jl 66.26% <0.00%> (+1.20%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 80b76e4...e6bce97. Read the comment docs.

@pizhn pizhn linked an issue Jul 7, 2021 that may be closed by this pull request
@pizhn pizhn mentioned this pull request Jul 7, 2021
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
src/algorithms/mts.jl Outdated Show resolved Hide resolved
pizhn and others added 5 commits July 17, 2021 00:04
Co-authored-by: Mathieu Besançon <mathieu.besancon@gmail.com>
Co-authored-by: Mathieu Besançon <mathieu.besancon@gmail.com>
Co-authored-by: Mathieu Besançon <mathieu.besancon@gmail.com>
Co-authored-by: Mohamed Tarek <mohamed82008@gmail.com>

"""
The Griewank problem.
From Ali, Khompatraporn, and Zabinsy (2005, p 559).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Give a mathematical expression for the problem formulation here

pizhn and others added 2 commits July 26, 2021 22:37
Co-authored-by: Mathieu Besançon <mathieu.besancon@gmail.com>
Co-authored-by: Mathieu Besançon <mathieu.besancon@gmail.com>
src/Nonconvex.jl Outdated Show resolved Hide resolved
@mohamed82008
Copy link
Member

Looks good overall. I left a few minor comments.

Copy link
Member

@mohamed82008 mohamed82008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

@mohamed82008 mohamed82008 merged commit 07e70ad into master Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement MTS-LS1
4 participants