# Halite III - anyone?

**URL:** <https://discourse.julialang.org/t/halite-iii-anyone/17546>\
**Category:** Community\
**Created:** [November 15, 2018, 4:51am UTC](https://discourse.julialang.org/t/halite-iii-anyone/17546 "2018-11-15T04:51:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [November 15, 2018, 4:51am UTC](https://discourse.julialang.org/t/halite-iii-anyone/17546/1 "2018-11-15T04:51:45Z")

</div>

Is anyone else doing Halite III? There is a Julia starter kit on it.

[https://halite.io/](https://halite.io/)

---

<div class="post-metadata">

**Author:** ![Liso](https://avatars.discourse-cdn.com/v4/letter/l/898d66/32.png) [@Liso](https://discourse.julialang.org/u/Liso)\
**Post date:** [November 19, 2018, 7:11am UTC](https://discourse.julialang.org/t/halite-iii-anyone/17546/2 "2018-11-19T07:11:14Z")

</div>

Didn’t you have problem to run Julia starter bot? It just freeze in the initialization phase on my Ubuntu… ☹

I guess I am just doing something wrong (python starter bot is working like a charm).

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [November 19, 2018, 9:49am UTC](https://discourse.julialang.org/t/halite-iii-anyone/17546/3 "2018-11-19T09:49:10Z")

</div>

Yeah the Julia bot is for Halite 2 not 3. Need some updating

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [November 23, 2018, 12:07pm UTC](https://discourse.julialang.org/t/halite-iii-anyone/17546/4 "2018-11-23T12:07:42Z")

</div>

It’s working for me on Windows 10.

---

<div class="post-metadata">

**Author:** ![Liso](https://avatars.discourse-cdn.com/v4/letter/l/898d66/32.png) [@Liso](https://discourse.julialang.org/u/Liso)\
**Post date:** [November 23, 2018, 6:11pm UTC](https://discourse.julialang.org/t/halite-iii-anyone/17546/5 "2018-11-23T18:11:47Z")

</div>

What did you download? (me [https://halite.io/assets/downloads/Halite3\_Julia\_None.zip](https://halite.io/assets/downloads/Halite3_Julia_None.zip)) Which version of Julia (1.0.2-pre.110) do you use?

I had problem for example with

```julia
    # file networking.jl around line 17
    log(s::String, io=io) = (@info s; flush(io))

```

where Julia wanted explicitly imported `Base.log`. What did I do wrong?

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [November 23, 2018, 9:13pm UTC](https://discourse.julialang.org/t/halite-iii-anyone/17546/6 "2018-11-23T21:13:03Z")

</div>

I also followed the readme to instantiate the repo

---

<div class="post-metadata">

**Author:** ![y4lu](https://avatars.discourse-cdn.com/v4/letter/y/47e85d/32.png) [@y4lu](https://discourse.julialang.org/u/y4lu)\
**Post date:** [November 24, 2018, 12:08am UTC](https://discourse.julialang.org/t/halite-iii-anyone/17546/7 "2018-11-24T00:08:02Z")

</div>

I had a bit of trouble getting the halite.exe to work, missing a windows dll or unable to find it  
Best submission was around a score/rank of 39

Also there’s another comp here- [Traveling Santa 2018 - Prime Paths | Kaggle](https://www.kaggle.com/c/traveling-santa-2018-prime-paths)

---

<div class="post-metadata">

**Author:** ![Liso](https://avatars.discourse-cdn.com/v4/letter/l/898d66/32.png) [@Liso](https://discourse.julialang.org/u/Liso)\
**Post date:** [November 24, 2018, 11:34am UTC](https://discourse.julialang.org/t/halite-iii-anyone/17546/8 "2018-11-24T11:34:22Z")

</div>

If I did not start bot from hand (means outside halite(.exe) tool) then starting it through halite(.exe) I used to get something like this:

```julia
ERROR: LoadError: Failed to precompile JSON [682c06a0-de6a-54ab-a142-c8b1cf79cde6] to ~/.julia/compiled/v1.0/JSON/uf6oy.ji

```

By starting bot from hand it created ~/.julia/compiled/v1.0/JSON/uf6oy.ji and don’t need to recreate it again in competition simulation. So halite(.exe) start to work with bot.

BTW. I am surprised that in different projects (with different version dependency!) it try to create same name `uf6oy.ji` . I suspect that it could be problem to running parallel two projects with different JSON version dependencies…

Precompile into file:

```julia
julia> using JSON
[Info: Recompiling stale cache file ~/.julia/compiled/v1.0/JSON/uf6oy.ji for JSON [682c06a0-de6a-54ab-a142-c8b1cf79cde6]

```

Downgrade package:

```julia
(v1.0) pkg> pin JSON@0.19.0
 Resolving package versions...
  Updating `~/.julia/environments/v1.0/Project.toml`
  [682c06a0] ↓ JSON v0.20.0 ⇒ v0.19.0 ⚲
  Updating `~/.julia/environments/v1.0/Manifest.toml`
  [682c06a0] ↓ JSON v0.20.0 ⇒ v0.19.0 ⚲

```

Restart Julia. And now different version of JSON precompile into same file

```julia
julia> 
julia> using JSON
[Info: Recompiling stale cache file ~/.julia/compiled/v1.0/JSON/uf6oy.ji for JSON [682c06a0-de6a-54ab-a142-c8b1cf79cde6]

```

BTW I was suprised too that by `free JSON` it didn’t go back to `v0.20.0` automatically

```julia
(v1.0) pkg> free JSON
  Updating `~/.julia/environments/v1.0/Project.toml`
  [682c06a0] ~ JSON v0.19.0 ⚲ ⇒ v0.19.0
  Updating `~/.julia/environments/v1.0/Manifest.toml`
  [682c06a0] ~ JSON v0.19.0 ⚲ ⇒ v0.19.0

```

---

<div class="post-metadata">

**Author:** ![y4lu](https://avatars.discourse-cdn.com/v4/letter/y/47e85d/32.png) [@y4lu](https://discourse.julialang.org/u/y4lu)\
**Post date:** [December 3, 2018, 3:24am UTC](https://discourse.julialang.org/t/halite-iii-anyone/17546/9 "2018-12-03T03:24:08Z")

</div>

The current tsp world champs just joined too

> TSP Celebrity Participants?

- [William J. Cook - Wikipedia](https://en.wikipedia.org/wiki/William_J._Cook)
- [World Traveling Salesman Problem](http://www.math.uwaterloo.ca/tsp/world/)

> **[Traveling Santa 2018 - Prime Paths](https://www.kaggle.com/c/traveling-santa-2018-prime-paths/discussion/73400)**
>
> But does your code recall, the most efficient route of all?

---

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [January 28, 2019, 10:41am UTC](https://discourse.julialang.org/t/halite-iii-anyone/17546/10 "2019-01-28T10:41:36Z")

</div>

A Julia entry came fifth this year.

[https://github.com/Andersgee/Halite3](https://github.com/Andersgee/Halite3)
