1// Copyright 2010-2024 Google LLC
2// Licensed under the Apache License, Version 2.0 (the "License");
3// you may not use this file except in compliance with the License.
4// You may obtain a copy of the License at
6// http://www.apache.org/licenses/LICENSE-2.0
8// Unless required by applicable law or agreed to in writing, software
9// distributed under the License is distributed on an "AS IS" BASIS,
10// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11// See the License for the specific language governing permissions and
12// limitations under the License.
16package operations_research;
18// Storage for IntVars.
19message IntVarAssignment {
26// Storage for IntervalVars.
27message IntervalVarAssignment {
31 int64 duration_min = 4;
32 int64 duration_max = 5;
35 int64 performed_min = 8;
36 int64 performed_max = 9;
40// Storage for SequenceVars.
41message SequenceVarAssignment {
43 repeated int32 forward_sequence = 2;
44 repeated int32 backward_sequence = 3;
45 repeated int32 unperformed = 4;
49// This message indicates how the assignment was produced.
55// Global container for all assignment variables and objective
56message AssignmentProto {
57 repeated IntVarAssignment int_var_assignment = 1;
58 repeated IntervalVarAssignment interval_var_assignment = 2;
59 repeated SequenceVarAssignment sequence_var_assignment = 6;
60 repeated IntVarAssignment objective = 3;
61 WorkerInfo worker_info = 4;