Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::LogicalConstraintTestParameters Struct Reference

#include <logical_constraint_tests.h>

Public Member Functions

 LogicalConstraintTestParameters (SolverType solver_type, SolveParameters parameters, bool supports_integer_variables, bool supports_sos1, bool supports_sos2, bool supports_indicator_constraints, bool supports_incremental_add_and_deletes, bool supports_incremental_variable_deletions, bool supports_deleting_indicator_variables, bool supports_updating_binary_variables)
 

Public Attributes

SolverType solver_type
 The tested solver.
 
SolveParameters parameters
 
bool supports_integer_variables
 True if the solver supports integer variables.
 
bool supports_sos1
 True if the solver supports SOS1 constraints.
 
bool supports_sos2
 True if the solver supports SOS2 constraints.
 
bool supports_indicator_constraints
 True if the solver supports indicator constraints.
 
bool supports_incremental_add_and_deletes
 
bool supports_incremental_variable_deletions
 True if the solver supports updates that delete (non-indicator) variables.
 
bool supports_deleting_indicator_variables
 True if the solver supports updates that delete indicator variables.
 
bool supports_updating_binary_variables
 

Detailed Description

Definition at line 25 of file logical_constraint_tests.h.

Constructor & Destructor Documentation

◆ LogicalConstraintTestParameters()

operations_research::math_opt::LogicalConstraintTestParameters::LogicalConstraintTestParameters ( SolverType solver_type,
SolveParameters parameters,
bool supports_integer_variables,
bool supports_sos1,
bool supports_sos2,
bool supports_indicator_constraints,
bool supports_incremental_add_and_deletes,
bool supports_incremental_variable_deletions,
bool supports_deleting_indicator_variables,
bool supports_updating_binary_variables )
explicit

Definition at line 35 of file logical_constraint_tests.cc.

Member Data Documentation

◆ parameters

SolveParameters operations_research::math_opt::LogicalConstraintTestParameters::parameters

Definition at line 38 of file logical_constraint_tests.h.

◆ solver_type

SolverType operations_research::math_opt::LogicalConstraintTestParameters::solver_type

The tested solver.

Definition at line 36 of file logical_constraint_tests.h.

◆ supports_deleting_indicator_variables

bool operations_research::math_opt::LogicalConstraintTestParameters::supports_deleting_indicator_variables

True if the solver supports updates that delete indicator variables.

Definition at line 60 of file logical_constraint_tests.h.

◆ supports_incremental_add_and_deletes

bool operations_research::math_opt::LogicalConstraintTestParameters::supports_incremental_add_and_deletes

True if the solver supports incremental updates that add and/or delete any of the logical constraint types it supports.

Definition at line 54 of file logical_constraint_tests.h.

◆ supports_incremental_variable_deletions

bool operations_research::math_opt::LogicalConstraintTestParameters::supports_incremental_variable_deletions

True if the solver supports updates that delete (non-indicator) variables.

Definition at line 57 of file logical_constraint_tests.h.

◆ supports_indicator_constraints

bool operations_research::math_opt::LogicalConstraintTestParameters::supports_indicator_constraints

True if the solver supports indicator constraints.

Definition at line 50 of file logical_constraint_tests.h.

◆ supports_integer_variables

bool operations_research::math_opt::LogicalConstraintTestParameters::supports_integer_variables

True if the solver supports integer variables.

Definition at line 41 of file logical_constraint_tests.h.

◆ supports_sos1

bool operations_research::math_opt::LogicalConstraintTestParameters::supports_sos1

True if the solver supports SOS1 constraints.

Definition at line 44 of file logical_constraint_tests.h.

◆ supports_sos2

bool operations_research::math_opt::LogicalConstraintTestParameters::supports_sos2

True if the solver supports SOS2 constraints.

Definition at line 47 of file logical_constraint_tests.h.

◆ supports_updating_binary_variables

bool operations_research::math_opt::LogicalConstraintTestParameters::supports_updating_binary_variables

True if the solver supports updates (changing bounds or vartype) to binary variables.

Definition at line 64 of file logical_constraint_tests.h.


The documentation for this struct was generated from the following files: