Skip to content

Commit 7939444

Browse files
Merge pull request #5 from Victoriayhk/master
update Linear-Programming solution
2 parents 8a49823 + d96a7e8 commit 7939444

File tree

6 files changed

+12
-64
lines changed

6 files changed

+12
-64
lines changed

.gitattributes

Lines changed: 0 additions & 17 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 47 deletions
This file was deleted.
Binary file not shown.

Linear-Programming/source-semi/future_net1.py renamed to Linear-Programming/future_net1.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# coding:utf-8
22
# future_net1.py
33

4+
# 专门针对http://codecraft.huawei.com/home/detail中初赛的例子
5+
# 有向图中信息:
6+
# 0,0,1,1
7+
# 1,0,2,2
8+
# 2,0,3,1
9+
# 3,2,1,3
10+
# 4,3,1,1
11+
# 5,2,3,1
12+
# 6,3,2,1
13+
# 起点为0,终点为1,必经点为2、3:
14+
# 0,1,2|3
15+
416
from gurobipy import *
517

618
m = Model("TSP")
1.3 KB
Binary file not shown.

paper/.DS_Store

6 KB
Binary file not shown.

0 commit comments

Comments
 (0)