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.math_opt;
18option java_package = "com.google.ortools.mathopt";
19option java_multiple_files = true;
21// The options exposed by HiGHS. Use at your own risk, these are completely
24// Option names are given as strings in HighsOptions.h, see:
25// https://github.com/ERGO-Code/HiGHS/blob/7421e44b09563f637dc6422ea461a8832b29e543/src/lp_data/HighsOptions.h
26// Each member of HighsOptionsStruct has a corresponding OptionRecord with a
27// string name (that appears to match the field name), use these as keys below.
28message HighsOptionsProto {
29 // Example keys: "presolve", "solver", "parallel"
30 map<string, string> string_options = 1;
31 // Example keys: "time_limit", "primal_feasibility_tolerance"
32 map<string, double> double_options = 2;
33 // Example keys: "random_seed", "simplex_strategy"
34 map<string, int32> int_options = 3;
35 // Example keys: "log_to_console", "allow_unbounded_or_infeasible"
36 map<string, bool> bool_options = 4;