ortools.constraint_solver.assignment_pb2

@generated by mypy-protobuf. Do not edit manually! isort:skip_file Copyright 2010-2025 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

 1# -*- coding: utf-8 -*-
 2# Generated by the protocol buffer compiler.  DO NOT EDIT!
 3# NO CHECKED-IN PROTOBUF GENCODE
 4# source: ortools/constraint_solver/assignment.proto
 5# Protobuf Python Version: 6.31.1
 6"""Generated protocol buffer code."""
 7from google.protobuf import descriptor as _descriptor
 8from google.protobuf import descriptor_pool as _descriptor_pool
 9from google.protobuf import runtime_version as _runtime_version
10from google.protobuf import symbol_database as _symbol_database
11from google.protobuf.internal import builder as _builder
12_runtime_version.ValidateProtobufRuntimeVersion(
13    _runtime_version.Domain.PUBLIC,
14    6,
15    31,
16    1,
17    '',
18    'ortools/constraint_solver/assignment.proto'
19)
20# @@protoc_insertion_point(imports)
21
22_sym_db = _symbol_database.Default()
23
24
25
26
27DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*ortools/constraint_solver/assignment.proto\x12\x13operations_research\"L\n\x10IntVarAssignment\x12\x0e\n\x06var_id\x18\x01 \x01(\t\x12\x0b\n\x03min\x18\x02 \x01(\x03\x12\x0b\n\x03max\x18\x03 \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\x04 \x01(\x08\"\xd9\x01\n\x15IntervalVarAssignment\x12\x0e\n\x06var_id\x18\x01 \x01(\t\x12\x11\n\tstart_min\x18\x02 \x01(\x03\x12\x11\n\tstart_max\x18\x03 \x01(\x03\x12\x14\n\x0c\x64uration_min\x18\x04 \x01(\x03\x12\x14\n\x0c\x64uration_max\x18\x05 \x01(\x03\x12\x0f\n\x07\x65nd_min\x18\x06 \x01(\x03\x12\x0f\n\x07\x65nd_max\x18\x07 \x01(\x03\x12\x15\n\rperformed_min\x18\x08 \x01(\x03\x12\x15\n\rperformed_max\x18\t \x01(\x03\x12\x0e\n\x06\x61\x63tive\x18\n \x01(\x08\"\x81\x01\n\x15SequenceVarAssignment\x12\x0e\n\x06var_id\x18\x01 \x01(\t\x12\x18\n\x10\x66orward_sequence\x18\x02 \x03(\x05\x12\x19\n\x11\x62\x61\x63kward_sequence\x18\x03 \x03(\x05\x12\x13\n\x0bunperformed\x18\x04 \x03(\x05\x12\x0e\n\x06\x61\x63tive\x18\x05 \x01(\x08\",\n\nWorkerInfo\x12\x11\n\tworker_id\x18\x01 \x01(\x05\x12\x0b\n\x03\x62ns\x18\x02 \x01(\t\"\xf0\x02\n\x0f\x41ssignmentProto\x12\x41\n\x12int_var_assignment\x18\x01 \x03(\x0b\x32%.operations_research.IntVarAssignment\x12K\n\x17interval_var_assignment\x18\x02 \x03(\x0b\x32*.operations_research.IntervalVarAssignment\x12K\n\x17sequence_var_assignment\x18\x06 \x03(\x0b\x32*.operations_research.SequenceVarAssignment\x12\x38\n\tobjective\x18\x03 \x03(\x0b\x32%.operations_research.IntVarAssignment\x12\x34\n\x0bworker_info\x18\x04 \x01(\x0b\x32\x1f.operations_research.WorkerInfo\x12\x10\n\x08is_valid\x18\x05 \x01(\x08\x62\x06proto3')
28
29_globals = globals()
30_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ortools.constraint_solver.assignment_pb2', _globals)
32if not _descriptor._USE_C_DESCRIPTORS:
33  DESCRIPTOR._loaded_options = None
34  _globals['_INTVARASSIGNMENT']._serialized_start=67
35  _globals['_INTVARASSIGNMENT']._serialized_end=143
36  _globals['_INTERVALVARASSIGNMENT']._serialized_start=146
37  _globals['_INTERVALVARASSIGNMENT']._serialized_end=363
38  _globals['_SEQUENCEVARASSIGNMENT']._serialized_start=366
39  _globals['_SEQUENCEVARASSIGNMENT']._serialized_end=495
40  _globals['_WORKERINFO']._serialized_start=497
41  _globals['_WORKERINFO']._serialized_end=541
42  _globals['_ASSIGNMENTPROTO']._serialized_start=544
43  _globals['_ASSIGNMENTPROTO']._serialized_end=912
44# @@protoc_insertion_point(module_scope)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = <google._upb._message.FileDescriptor object>
class IntVarAssignment(google._upb._message.Message, google.protobuf.message.Message):

Storage for IntVars.

DESCRIPTOR: google.protobuf.descriptor.Descriptor = <google._upb._message.Descriptor object>
class IntervalVarAssignment(google._upb._message.Message, google.protobuf.message.Message):

Storage for IntervalVars.

DESCRIPTOR: google.protobuf.descriptor.Descriptor = <google._upb._message.Descriptor object>
class SequenceVarAssignment(google._upb._message.Message, google.protobuf.message.Message):

Storage for SequenceVars.

DESCRIPTOR: google.protobuf.descriptor.Descriptor = <google._upb._message.Descriptor object>
class WorkerInfo(google._upb._message.Message, google.protobuf.message.Message):

This message indicates how the assignment was produced.

DESCRIPTOR: google.protobuf.descriptor.Descriptor = <google._upb._message.Descriptor object>
class AssignmentProto(google._upb._message.Message, google.protobuf.message.Message):

Global container for all assignment variables and objective

DESCRIPTOR: google.protobuf.descriptor.Descriptor = <google._upb._message.Descriptor object>