Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
430 B
2
Indexable
Never
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Google.OrTools.ConstraintSolver;
using Google.OrTools.Sat;

    var non_spanning_hours = Domain.FromIntervals(new long[][]
        {
            new long[] { 3 , 4 },
            new long[] { 32, 39 },
            new long[] { 56, 63 },
            new long[] { 80, 87 },
            new long[] { 91, 95 }
        });