add .travais.yml and using Test_Optinum

This commit is contained in:
relmo 2020-06-16 16:21:08 +02:00
parent d057874f14
commit 874fa0ee76
3 changed files with 19 additions and 4 deletions

14
.travis.yml Normal file
View file

@ -0,0 +1,14 @@
language: julia
os:
- osx
- linux
- windows
julia:
- 1.4
- 1.5
- 1.0.5
before_script:
- julia -e 'using Pkg; Pkg.add(PackageSpec(url="https://github.com/mathn7/Test_Optinum.git"))'
notifications:
email: false

View file

@ -74,7 +74,7 @@ function Regions_De_Confiance(algo,f::Function,gradf::Function,hessf::Function,x
n = length(x0)
xmin = zeros(n)
fxmin = 0
fxmin = f(xmin)
flag = 0
nb_iters = 0

View file

@ -3,20 +3,21 @@ module Sujet_Optinum
using LinearAlgebra
using Test
using Markdown
using Test_Optinum
include("Algorithme_De_Newton.jl")
export Algorithme_De_Newton
include("Regions_De_Confiance.jl")
export Regions_De_Confiance
include("Pas_De_Cauchy.jl")
export Pas_De_Cauchy
include("Gradient_Conjugue_Tronque.jl")
export Gradient_Conjugue_Tronque
include("Regions_De_Confiance.jl")
export Regions_De_Confiance
include("Lagrangien_Augmente.jl")
export Lagrangien_Augmente