Skip to content

Instantly share code, notes, and snippets.

@sergn-n
sergn-n / Output
Last active July 27, 2017 11:47
Google OrTools Sample showing SetSpanUpperBoundForVehicle() behaviour depending on orders' disjunctions set up.
** Google.OrTools, Version=6.0.4217.18304, Culture=neutral, PublicKeyToken=e5e5a
4177ad79658 **
Creating orders.
Creating model with 12 orders and 3 vehicles,
SpanUpperBoundForVehicle = 72000, OrderPenalty = -1 .
Search
No solution, status =3
Creating model with 12 orders and 3 vehicles,
SpanUpperBoundForVehicle = 72000, OrderPenalty = 80 .
@sergn-n
sergn-n / Program
Created March 17, 2017 21:11
Itinero contracted Db RouteNotFoundException
using Itinero;
using Itinero.LocalGeo;
using Itinero.IO.Osm;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
@sergn-n
sergn-n / app.js
Created August 23, 2015 15:36
enclose-nconf-err
var nconf = require('nconf');
nconf.argv();
console.log('foo: ' + nconf.get('foo'));