Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5746c66

Browse files
committed
travis
1 parent 191fe90 commit 5746c66

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

‎pytest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from solver.Duelist_Algorithm import DuelistAlgorithm
2+
def f(x):
3+
return x*0.5
4+
x=["x1"]
5+
xmin=[-2]
6+
xmax=[10]
7+
DA=DuelistAlgorithm(f,x,xmin,xmax,max_gen=100)
8+
DA.solve()

‎requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
numpy==1.15.4
1+
numpy==1.15.4
2+
matplotlib==3.0.2

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /