ortools.math_opt.solvers.highs_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/math_opt/solvers/highs.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/math_opt/solvers/highs.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/math_opt/solvers/highs.proto\x12\x1coperations_research.math_opt\"\xcc\x04\n\x11HighsOptionsProto\x12Z\n\x0estring_options\x18\x01 \x03(\x0b\x32\x42.operations_research.math_opt.HighsOptionsProto.StringOptionsEntry\x12Z\n\x0e\x64ouble_options\x18\x02 \x03(\x0b\x32\x42.operations_research.math_opt.HighsOptionsProto.DoubleOptionsEntry\x12T\n\x0bint_options\x18\x03 \x03(\x0b\x32?.operations_research.math_opt.HighsOptionsProto.IntOptionsEntry\x12V\n\x0c\x62ool_options\x18\x04 \x03(\x0b\x32@.operations_research.math_opt.HighsOptionsProto.BoolOptionsEntry\x1a\x34\n\x12StringOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12\x44oubleOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x1a\x31\n\x0fIntOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\x1a\x32\n\x10\x42oolOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x08:\x02\x38\x01\x42\x1e\n\x1a\x63om.google.ortools.mathoptP\x01\x62\x06proto3')
28
29_globals = globals()
30_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ortools.math_opt.solvers.highs_pb2', _globals)
32if not _descriptor._USE_C_DESCRIPTORS:
33  _globals['DESCRIPTOR']._loaded_options = None
34  _globals['DESCRIPTOR']._serialized_options = b'\n\032com.google.ortools.mathoptP\001'
35  _globals['_HIGHSOPTIONSPROTO_STRINGOPTIONSENTRY']._loaded_options = None
36  _globals['_HIGHSOPTIONSPROTO_STRINGOPTIONSENTRY']._serialized_options = b'8\001'
37  _globals['_HIGHSOPTIONSPROTO_DOUBLEOPTIONSENTRY']._loaded_options = None
38  _globals['_HIGHSOPTIONSPROTO_DOUBLEOPTIONSENTRY']._serialized_options = b'8\001'
39  _globals['_HIGHSOPTIONSPROTO_INTOPTIONSENTRY']._loaded_options = None
40  _globals['_HIGHSOPTIONSPROTO_INTOPTIONSENTRY']._serialized_options = b'8\001'
41  _globals['_HIGHSOPTIONSPROTO_BOOLOPTIONSENTRY']._loaded_options = None
42  _globals['_HIGHSOPTIONSPROTO_BOOLOPTIONSENTRY']._serialized_options = b'8\001'
43  _globals['_HIGHSOPTIONSPROTO']._serialized_start=71
44  _globals['_HIGHSOPTIONSPROTO']._serialized_end=659
45  _globals['_HIGHSOPTIONSPROTO_STRINGOPTIONSENTRY']._serialized_start=450
46  _globals['_HIGHSOPTIONSPROTO_STRINGOPTIONSENTRY']._serialized_end=502
47  _globals['_HIGHSOPTIONSPROTO_DOUBLEOPTIONSENTRY']._serialized_start=504
48  _globals['_HIGHSOPTIONSPROTO_DOUBLEOPTIONSENTRY']._serialized_end=556
49  _globals['_HIGHSOPTIONSPROTO_INTOPTIONSENTRY']._serialized_start=558
50  _globals['_HIGHSOPTIONSPROTO_INTOPTIONSENTRY']._serialized_end=607
51  _globals['_HIGHSOPTIONSPROTO_BOOLOPTIONSENTRY']._serialized_start=609
52  _globals['_HIGHSOPTIONSPROTO_BOOLOPTIONSENTRY']._serialized_end=659
53# @@protoc_insertion_point(module_scope)
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = <google._upb._message.FileDescriptor object>
class HighsOptionsProto(google._upb._message.Message, google.protobuf.message.Message):

The options exposed by HiGHS. Use at your own risk, these are completely undocumented.

Option names are given as strings in HighsOptions.h, see: https://github.com/ERGO-Code/HiGHS/blob/7421e44b09563f637dc6422ea461a8832b29e543/src/lp_data/HighsOptions.h Each member of HighsOptionsStruct has a corresponding OptionRecord with a string name (that appears to match the field name), use these as keys below.

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

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

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

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

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

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

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

Abstract base class for protocol messages.

Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.

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