Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.Tests.LinearSolverTest Class Reference

Public Member Functions

 LinearSolverTest (ITestOutputHelper output)
 
void VarOperator ()
 
void VarAddition ()
 
void VarMultiplication ()
 
void BinaryOperator ()
 
void Inequalities ()
 
void SumArray ()
 
void Objective ()
 
void OptimizationProblemType ()
 
void testSetHintAndSolverGetters ()
 
void Given_a_LinearExpr_and_a_solution_When_SolutionValue_is_called_then_the_result_is_correct ()
 

Detailed Description

Definition at line 21 of file LinearSolverTests.cs.

Constructor & Destructor Documentation

◆ LinearSolverTest()

Google.OrTools.Tests.LinearSolverTest.LinearSolverTest ( ITestOutputHelper output)
inline

Definition at line 25 of file LinearSolverTests.cs.

Member Function Documentation

◆ BinaryOperator()

void Google.OrTools.Tests.LinearSolverTest.BinaryOperator ( )
inline

Definition at line 147 of file LinearSolverTests.cs.

◆ Given_a_LinearExpr_and_a_solution_When_SolutionValue_is_called_then_the_result_is_correct()

void Google.OrTools.Tests.LinearSolverTest.Given_a_LinearExpr_and_a_solution_When_SolutionValue_is_called_then_the_result_is_correct ( )
inline

x, y and z are fixed; we don't want to test the solver here.

Definition at line 458 of file LinearSolverTests.cs.

◆ Inequalities()

void Google.OrTools.Tests.LinearSolverTest.Inequalities ( )
inline

Definition at line 185 of file LinearSolverTests.cs.

◆ Objective()

void Google.OrTools.Tests.LinearSolverTest.Objective ( )
inline

Definition at line 249 of file LinearSolverTests.cs.

◆ OptimizationProblemType()

void Google.OrTools.Tests.LinearSolverTest.OptimizationProblemType ( )
inline

Definition at line 408 of file LinearSolverTests.cs.

◆ SumArray()

void Google.OrTools.Tests.LinearSolverTest.SumArray ( )
inline

Definition at line 226 of file LinearSolverTests.cs.

◆ testSetHintAndSolverGetters()

void Google.OrTools.Tests.LinearSolverTest.testSetHintAndSolverGetters ( )
inline

x and y are continuous non-negative variables.

Objectif function: Maximize x + 10 * y.

x + 7 * y <= 17.5.

x <= 3.5.

Definition at line 425 of file LinearSolverTests.cs.

◆ VarAddition()

void Google.OrTools.Tests.LinearSolverTest.VarAddition ( )
inline

Definition at line 74 of file LinearSolverTests.cs.

◆ VarMultiplication()

void Google.OrTools.Tests.LinearSolverTest.VarMultiplication ( )
inline

Definition at line 108 of file LinearSolverTests.cs.

◆ VarOperator()

void Google.OrTools.Tests.LinearSolverTest.VarOperator ( )
inline

Definition at line 31 of file LinearSolverTests.cs.


The documentation for this class was generated from the following file: