All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ortools.linearsolver.MPModelDeltaProtoOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ortools/linear_solver/linear_solver.proto

package com.google.ortools.linearsolver;

public interface MPModelDeltaProtoOrBuilder extends
    // @@protoc_insertion_point(interface_extends:operations_research.MPModelDeltaProto)
    com.google.protobuf.MessageOrBuilder {

  /**
   * optional string baseline_model_file_path = 1;
   * @return Whether the baselineModelFilePath field is set.
   */
  boolean hasBaselineModelFilePath();
  /**
   * optional string baseline_model_file_path = 1;
   * @return The baselineModelFilePath.
   */
  java.lang.String getBaselineModelFilePath();
  /**
   * optional string baseline_model_file_path = 1;
   * @return The bytes for baselineModelFilePath.
   */
  com.google.protobuf.ByteString
      getBaselineModelFilePathBytes();

  /**
   * 
   * The variable protos listed here will override (via MergeFrom()) the ones
   * in the baseline model: you only need to specify the fields that change.
   * To add a new variable, add it with a new variable index (variable indices
   * still need to span a dense integer interval).
   * You can't "delete" a variable but you can "neutralize" it by fixing its
   * value, setting its objective coefficient to zero, and by nullifying all
   * the terms involving it in the constraints.
   * 
* * map<int32, .operations_research.MPVariableProto> variable_overrides = 2; */ int getVariableOverridesCount(); /** *
   * The variable protos listed here will override (via MergeFrom()) the ones
   * in the baseline model: you only need to specify the fields that change.
   * To add a new variable, add it with a new variable index (variable indices
   * still need to span a dense integer interval).
   * You can't "delete" a variable but you can "neutralize" it by fixing its
   * value, setting its objective coefficient to zero, and by nullifying all
   * the terms involving it in the constraints.
   * 
* * map<int32, .operations_research.MPVariableProto> variable_overrides = 2; */ boolean containsVariableOverrides( int key); /** * Use {@link #getVariableOverridesMap()} instead. */ @java.lang.Deprecated java.util.Map getVariableOverrides(); /** *
   * The variable protos listed here will override (via MergeFrom()) the ones
   * in the baseline model: you only need to specify the fields that change.
   * To add a new variable, add it with a new variable index (variable indices
   * still need to span a dense integer interval).
   * You can't "delete" a variable but you can "neutralize" it by fixing its
   * value, setting its objective coefficient to zero, and by nullifying all
   * the terms involving it in the constraints.
   * 
* * map<int32, .operations_research.MPVariableProto> variable_overrides = 2; */ java.util.Map getVariableOverridesMap(); /** *
   * The variable protos listed here will override (via MergeFrom()) the ones
   * in the baseline model: you only need to specify the fields that change.
   * To add a new variable, add it with a new variable index (variable indices
   * still need to span a dense integer interval).
   * You can't "delete" a variable but you can "neutralize" it by fixing its
   * value, setting its objective coefficient to zero, and by nullifying all
   * the terms involving it in the constraints.
   * 
* * map<int32, .operations_research.MPVariableProto> variable_overrides = 2; */ com.google.ortools.linearsolver.MPVariableProto getVariableOverridesOrDefault( int key, com.google.ortools.linearsolver.MPVariableProto defaultValue); /** *
   * The variable protos listed here will override (via MergeFrom()) the ones
   * in the baseline model: you only need to specify the fields that change.
   * To add a new variable, add it with a new variable index (variable indices
   * still need to span a dense integer interval).
   * You can't "delete" a variable but you can "neutralize" it by fixing its
   * value, setting its objective coefficient to zero, and by nullifying all
   * the terms involving it in the constraints.
   * 
* * map<int32, .operations_research.MPVariableProto> variable_overrides = 2; */ com.google.ortools.linearsolver.MPVariableProto getVariableOverridesOrThrow( int key); /** *
   * Constraints can be changed (or added) in the same way as variables, see
   * above. It's mostly like applying MergeFrom(), except that:
   * - the "var_index" and "coefficient" fields will be overridden like a map:
   *   if a key pre-exists, we overwrite its value, otherwise we add it.
   * - if you set the lower bound to -inf and the upper bound to +inf, thus
   *   effectively neutralizing the constraint, the solver will implicitly
   *   remove all of the constraint's terms.
   * 
* * map<int32, .operations_research.MPConstraintProto> constraint_overrides = 3; */ int getConstraintOverridesCount(); /** *
   * Constraints can be changed (or added) in the same way as variables, see
   * above. It's mostly like applying MergeFrom(), except that:
   * - the "var_index" and "coefficient" fields will be overridden like a map:
   *   if a key pre-exists, we overwrite its value, otherwise we add it.
   * - if you set the lower bound to -inf and the upper bound to +inf, thus
   *   effectively neutralizing the constraint, the solver will implicitly
   *   remove all of the constraint's terms.
   * 
* * map<int32, .operations_research.MPConstraintProto> constraint_overrides = 3; */ boolean containsConstraintOverrides( int key); /** * Use {@link #getConstraintOverridesMap()} instead. */ @java.lang.Deprecated java.util.Map getConstraintOverrides(); /** *
   * Constraints can be changed (or added) in the same way as variables, see
   * above. It's mostly like applying MergeFrom(), except that:
   * - the "var_index" and "coefficient" fields will be overridden like a map:
   *   if a key pre-exists, we overwrite its value, otherwise we add it.
   * - if you set the lower bound to -inf and the upper bound to +inf, thus
   *   effectively neutralizing the constraint, the solver will implicitly
   *   remove all of the constraint's terms.
   * 
* * map<int32, .operations_research.MPConstraintProto> constraint_overrides = 3; */ java.util.Map getConstraintOverridesMap(); /** *
   * Constraints can be changed (or added) in the same way as variables, see
   * above. It's mostly like applying MergeFrom(), except that:
   * - the "var_index" and "coefficient" fields will be overridden like a map:
   *   if a key pre-exists, we overwrite its value, otherwise we add it.
   * - if you set the lower bound to -inf and the upper bound to +inf, thus
   *   effectively neutralizing the constraint, the solver will implicitly
   *   remove all of the constraint's terms.
   * 
* * map<int32, .operations_research.MPConstraintProto> constraint_overrides = 3; */ com.google.ortools.linearsolver.MPConstraintProto getConstraintOverridesOrDefault( int key, com.google.ortools.linearsolver.MPConstraintProto defaultValue); /** *
   * Constraints can be changed (or added) in the same way as variables, see
   * above. It's mostly like applying MergeFrom(), except that:
   * - the "var_index" and "coefficient" fields will be overridden like a map:
   *   if a key pre-exists, we overwrite its value, otherwise we add it.
   * - if you set the lower bound to -inf and the upper bound to +inf, thus
   *   effectively neutralizing the constraint, the solver will implicitly
   *   remove all of the constraint's terms.
   * 
* * map<int32, .operations_research.MPConstraintProto> constraint_overrides = 3; */ com.google.ortools.linearsolver.MPConstraintProto getConstraintOverridesOrThrow( int key); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy