Skip to content

Instantly share code, notes, and snippets.

View senhalil's full-sized avatar
🦧

Halil Sen senhalil

🦧
  • Equilibrium Energy
  • Bordeaux
  • X @hllsen
View GitHub Profile
@senhalil
senhalil / gist:fd5e06913523cb9d45b3123ebd186573
Last active October 3, 2023 11:47 — forked from Ricket/gist:78bcd681db86bcbb134558428c4c6cb4
git diff -- use json_xs to pretty-print the json before diffing it
sudo apt-get install libjson-xs-perl
echo "*.json diff=json" >> ~/.gitattributes
git config --global core.attributesfile ~/.gitattributes
git config --global diff.json.textconv "json_xs -e \"print JSON::XS->new->utf8->pretty->canonical->encode(\\\$_)\" -t none < \"\$1\""
@senhalil
senhalil / step_1.log
Last active April 15, 2021 13:10
ortools_issue_log
Starting from a solution with an objective function value of 242288 and 8 routes (4 vehicles are empty):
----> run_ortools services(138) preassigned(138) vehicles(12)
OR-Tools v7.8
Using the provided initial solution.
Iteration : 0 Cost : 242288 Time : 0.0402563
Iteration : 1 Cost : 242288 Time : 0.0402988
Iteration : 2 Cost : 242288 Time : 0.123065
Iteration : 4 Cost : 242288 Time : 1.08831
Iteration : 8 Cost : 242288 Time : 3.34302
@senhalil
senhalil / vrp_w_matrix_example.json
Created October 24, 2020 20:36
vrp_w_matrix_example.json
This file has been truncated, but you can view the full file.