-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added brun, cvp, svp, subsetsum, integerFeasibility (#10)
* Added "cvp" for closest vector problem * Added "svp" for shortest vector problem * Added example lll applications: "subsetsum" function which solves subset sum problem , "integerFeasibility" for integer programming feasibility. * As a learning tool, added "gauss" decomposition * updated README, docs for all functions
- Loading branch information
Showing
13 changed files
with
626 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
using PyPlot | ||
using Plots | ||
using BenchmarkTools | ||
using LLLplus | ||
using Printf | ||
using Random | ||
using LinearAlgebra | ||
using DoubleFloats | ||
|
||
include("lrtest.jl") | ||
|
||
lrtest(5,2 .^[2],[100],[Int32,Int64,Int128,Float64,BigInt,BigFloat],"rand") | ||
savefig("benchmark/perfVsDataTypeN16.png") # run from root directory | ||
lrtest(40,2 .^[7],[100],[Int32,Int64,Int128,Float32,Float64,Double64,BigInt,BigFloat],"rand") | ||
savefig("perfVsDataType.png") | ||
|
||
lrtest(5,2 .^[0:5;],[1],[Float64],"randn") | ||
savefig("benchmark/perfVsNfloat32.png") # run from root directory | ||
lrtest(40,2 .^[0:8;],[1],[Float64],"randn") | ||
savefig("perfVsNfloat64.png") |
Oops, something went wrong.