Skip to content

Commit

Permalink
Update KLIEP/Convex
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Apr 12, 2020
1 parent 1ffc919 commit 733d986
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/kliep/convex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Licensed under the ISC License. See LICENSE in the project root.
# ------------------------------------------------------------------

import .Convex
import .ECOS: ECOSSolver
using .Convex
using .ECOS

function _kliep_coeffs(K_nu, K_de, dre::KLIEP, optlib::Type{ConvexLib})
# retrieve parameters
Expand All @@ -25,7 +25,7 @@ function _kliep_coeffs(K_nu, K_de, dre::KLIEP, optlib::Type{ConvexLib})
problem = Convex.maximize(objective, constraints)

# solve problem with ECOS solver
Convex.solve!(problem, ECOSSolver(verbose=false))
Convex.solve!(problem, ECOS.Optimizer(verbose=false))

# optimal coefficients
vec.value)
Expand Down

2 comments on commit 733d986

@juliohm
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/12814

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.1 -m "<description of version>" 733d986625651775b56e204b23181750a27b2a0b
git push origin v0.4.1

Please sign in to comment.