|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Tests for Simplex. More...
#include <gtest/gtest.h>#include <Simplex.H>#include <algorithm>#include <cmath>#include <filesystem>#include <fstream>#include <random>#include <sstream>#include <string>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| class | SimplexTest |
| class | RevisedSimplexTest |
| class | NonStandardConstraintsTest |
| class | MinimizationTest |
Functions | |
| TEST_F (SimplexTest, ConstructorBasic) | |
| TEST_F (SimplexTest, ConstructorZeroVariablesThrows) | |
| TEST_F (SimplexTest, ConstructorSingleVariable) | |
| TEST_F (SimplexTest, ConstructorLargeNumber) | |
| TEST_F (SimplexTest, SetObjectiveCoefficient) | |
| TEST_F (SimplexTest, SetObjectiveCoefficientOutOfRangeThrows) | |
| TEST_F (SimplexTest, GetObjectiveCoefficientOutOfRangeThrows) | |
| TEST_F (SimplexTest, SetObjectiveFunctionFromArray) | |
| TEST_F (SimplexTest, SetObjectiveFunctionFromDynArray) | |
| TEST_F (SimplexTest, GetObjectiveFunctionPointer) | |
| TEST_F (SimplexTest, AddRestrictionFromArray) | |
| TEST_F (SimplexTest, AddMultipleRestrictions) | |
| TEST_F (SimplexTest, AddEmptyRestriction) | |
| TEST_F (SimplexTest, ModifyRestrictionAfterAdd) | |
| TEST_F (SimplexTest, GetRestrictionOutOfRangeThrows) | |
| TEST_F (SimplexTest, GetRestrictionCoef) | |
| TEST_F (SimplexTest, PutRestrictionCoef) | |
| TEST_F (SimplexTest, AddRestrictionFromDynArray) | |
| TEST_F (SimplexTest, SolveWithoutRestrictionThrows) | |
| TEST_F (SimplexTest, SolveWithoutPrepareThrows) | |
| TEST_F (SimplexTest, SolveTwiceThrows) | |
| TEST_F (SimplexTest, PutRestrictionAfterPrepareThrowsAndKeepsTheProgram) | |
| TEST_F (SimplexTest, IndexErrorsGiveTheRangeHalfOpen) | |
| TEST_F (SimplexTest, SimpleMaximization) | |
| TEST_F (SimplexTest, ThreeVariableProblem) | |
| TEST_F (SimplexTest, ProductMixProblem) | |
| TEST_F (SimplexTest, DietProblem) | |
| TEST_F (SimplexTest, TransportationVariant) | |
| TEST_F (SimplexTest, SingleVariableSingleConstraint) | |
| TEST_F (SimplexTest, ZeroObjectiveCoefficient) | |
| TEST_F (SimplexTest, TightConstraints) | |
| TEST_F (SimplexTest, RedundantConstraint) | |
| TEST_F (SimplexTest, FractionalSolution) | |
| TEST_F (SimplexTest, FloatType) | |
| TEST_F (SimplexTest, StateTransitions) | |
| TEST_F (SimplexTest, VerifySolutionTrue) | |
| TEST_F (SimplexTest, GetNumVars) | |
| TEST_F (SimplexTest, GetNumRestrictions) | |
| TEST_F (SimplexTest, MediumSizeProblem) | |
| TEST_F (SimplexTest, SmallCoefficients) | |
| TEST_F (SimplexTest, LargeCoefficients) | |
| TEST_F (SimplexTest, MinimizationModeAPI) | |
| TEST_F (SimplexTest, EqualityConstraintSimulated) | |
| TEST_F (SimplexTest, ConstraintTypesAPI) | |
| TEST_F (SimplexTest, StatisticsTracking) | |
| TEST_F (SimplexTest, BlandRuleEnabled) | |
| TEST_F (SimplexTest, SensitivityAnalysisObjective) | |
| TEST_F (SimplexTest, ShadowPrices) | |
| TEST_F (SimplexTest, ReducedCosts) | |
| TEST_F (SimplexTest, DualSimplexReoptimize) | |
| TEST_F (SimplexTest, LargeDegenerateProblem) | |
| TEST_F (SimplexTest, SetMinimizeMaximize) | |
| TEST_F (SimplexTest, IsBasicVariable) | |
| TEST_F (RevisedSimplexTest, BasicConstructor) | |
| TEST_F (RevisedSimplexTest, SimpleMaximization) | |
| TEST_F (RevisedSimplexTest, ThreeVariables) | |
| TEST_F (RevisedSimplexTest, CompareWithStandardSimplex) | |
| TEST_F (RevisedSimplexTest, MediumSizeProblem) | |
| TEST_F (RevisedSimplexTest, StatisticsTracking) | |
| TEST_F (RevisedSimplexTest, PerformanceBenchmark) | |
| TEST_F (NonStandardConstraintsTest, GreaterThanOrEqualConstraints) | |
| TEST_F (NonStandardConstraintsTest, EqualityConstraints) | |
| TEST_F (NonStandardConstraintsTest, MixedConstraintTypes) | |
| TEST_F (NonStandardConstraintsTest, MultipleEqualityConstraints) | |
| TEST_F (NonStandardConstraintsTest, InfeasibleWithGEConstraints) | |
| TEST_F (MinimizationTest, BasicMinimization) | |
| TEST_F (MinimizationTest, DietProblem) | |
| TEST_F (MinimizationTest, TransportationCostMinimization) | |
| TEST_F (MinimizationTest, SetMinimizeMethod) | |
| TEST_F (MinimizationTest, MinimizationWithEquality) | |
| TEST_F (MinimizationTest, CompareMinimizeVsNegatedMaximize) | |
| TEST (SimplexDefects, AnInfeasibleProgramIsReported) | |
| TEST (SimplexDefects, ColumnsWithTheSameUnitVectorAreNotBothBasic) | |
| TEST (SimplexDefects, ANegativeRightHandSideIsNotIgnored) | |
| TEST (SimplexDefects, AnObjectiveAboveTheBigMOfBefore) | |
| TEST (SimplexDefects, SensitivityOfEqualitiesAndOfGreaterOrEqual) | |
| TEST (SimplexDefects, ReoptimizationOfEqualitiesAndOfGreaterOrEqual) | |
| TEST (SimplexDefects, PrintAndLatexOutput) | |
| TEST (SimplexDefects, LargeCoefficientsDoNotHideTheLeavingRow) | |
| TEST (SimplexDefects, SmallDataDoNotMakeAPivot) | |
| TEST (SimplexScaling, TheSensitivityInOtherUnits) | |
| TEST (SimplexScaling, SubnormalMagnitudesAreNotScaled) | |
| TEST (SimplexClassic, BealesCyclingProgramEnds) | |
| TEST (SimplexClassic, KleeMintyCube) | |
| TEST (SimplexClassic, ZeroRowsAndZeroObjective) | |
| TEST (SimplexClassic, InconsistentEqualities) | |
| TEST (SimplexClassic, AMovedSolverSolves) | |
| TEST (SimplexClassic, StateErrors) | |
| TEST (RevisedSimplexDefects, ANegativeRightHandSideNeedsTheFirstPhase) | |
| TEST (RevisedSimplexDefects, InfeasibleAndUnbounded) | |
| TEST (RevisedSimplexDefects, RefactorizationEveryPivotGivesTheSame) | |
| TEST (RevisedSimplexDefects, LargeCoefficientsDoNotHideTheLeavingRow) | |
| TEST (SimplexClassic, TheRestOfTheInterface) | |
| int | main (int argc, char **argv) |
Tests for Simplex.
Comprehensive test suite for Simplex.H.
Tests all aspects of the Simplex linear programming solver including:
Definition in file Simplex_test.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 2667 of file Simplex_test.cc.
| TEST | ( | RevisedSimplexDefects | , |
| ANegativeRightHandSideNeedsTheFirstPhase | |||
| ) |
Definition at line 2529 of file Simplex_test.cc.
References Aleph::RevisedSimplex< T >::get_solution(), Aleph::RevisedSimplex< T >::objective_value(), Aleph::RevisedSimplex< T >::set_constraint(), Aleph::RevisedSimplex< T >::set_objective(), Aleph::RevisedSimplex< T >::set_rhs(), Aleph::RevisedSimplex< T >::solve(), and Aleph::RevisedSimplex< T >::verify_solution().
| TEST | ( | RevisedSimplexDefects | , |
| InfeasibleAndUnbounded | |||
| ) |
| TEST | ( | RevisedSimplexDefects | , |
| LargeCoefficientsDoNotHideTheLeavingRow | |||
| ) |
Definition at line 2593 of file Simplex_test.cc.
References Aleph::RevisedSimplex< T >::objective_value(), Aleph::RevisedSimplex< T >::set_constraint_row(), Aleph::RevisedSimplex< T >::set_objective(), and Aleph::RevisedSimplex< T >::solve().
| TEST | ( | RevisedSimplexDefects | , |
| RefactorizationEveryPivotGivesTheSame | |||
| ) |
Definition at line 2564 of file Simplex_test.cc.
References Aleph::RevisedSimplex< T >::objective_value(), Aleph::RevisedSimplex< T >::set_constraint(), Aleph::RevisedSimplex< T >::set_objective(), Aleph::RevisedSimplex< T >::set_refactorization_frequency(), Aleph::RevisedSimplex< T >::set_rhs(), Aleph::RevisedSimplex< T >::solve(), and value.
| TEST | ( | SimplexClassic | , |
| AMovedSolverSolves | |||
| ) |
Definition at line 2492 of file Simplex_test.cc.
References Aleph::Simplex< T >::put_objetive_function_coef(), and Aleph::Simplex< T >::shadow_price().
| TEST | ( | SimplexClassic | , |
| BealesCyclingProgramEnds | |||
| ) |
Definition at line 2378 of file Simplex_test.cc.
References Aleph::Simplex< T >::enable_bland_rule(), Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::get_stats(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST | ( | SimplexClassic | , |
| InconsistentEqualities | |||
| ) |
Definition at line 2484 of file Simplex_test.cc.
References Aleph::Simplex< T >::put_objetive_function_coef(), and Aleph::Simplex< T >::solve().
| TEST | ( | SimplexClassic | , |
| KleeMintyCube | |||
| ) |
Definition at line 2409 of file Simplex_test.cc.
References Aleph::Simplex< T >::enable_bland_rule(), Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), row, Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST | ( | SimplexClassic | , |
| StateErrors | |||
| ) |
Definition at line 2509 of file Simplex_test.cc.
References Aleph::Simplex< T >::dual_solve(), Aleph::Simplex< T >::latex_solve(), Aleph::Simplex< T >::objective_sensitivity(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::print_sensitivity_analysis(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::reduced_cost(), Aleph::Simplex< T >::rhs_sensitivity(), Aleph::Simplex< T >::shadow_price(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::update_rhs_and_reoptimize().
| TEST | ( | SimplexClassic | , |
| TheRestOfTheInterface | |||
| ) |
Definition at line 2607 of file Simplex_test.cc.
References Aleph::SimplexStats::bland_rule_used, Aleph::Simplex< T >::dual_solve(), Aleph::eq(), Aleph::find(), Aleph::Simplex< T >::get_degenerate_pivot_count(), Aleph::Simplex< T >::get_elapsed_time_ms(), Aleph::Simplex< T >::get_iteration_count(), Aleph::RevisedSimplex< T >::get_num_constraints(), Aleph::RevisedSimplex< T >::get_num_vars(), Aleph::Simplex< T >::get_optimization_type(), Aleph::Simplex< T >::get_pivot_count(), Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::get_stats(), Aleph::RevisedSimplex< T >::get_stats(), Aleph::Simplex< T >::latex_matrix(), Aleph::Simplex< T >::load_solution(), out, Aleph::SimplexStats::pivots, Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::print_sensitivity_analysis(), Aleph::Simplex< T >::print_stats(), Aleph::RevisedSimplex< T >::print_stats(), Aleph::Simplex< T >::put_eq_restriction(), Aleph::Simplex< T >::put_ge_restriction(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::RevisedSimplex< T >::set_constraint(), Aleph::Simplex< T >::set_epsilon(), Aleph::RevisedSimplex< T >::set_objective(), Aleph::Simplex< T >::set_optimization_type(), Aleph::Simplex< T >::set_pivot_rule(), Aleph::RevisedSimplex< T >::set_rhs(), Aleph::Simplex< T >::solve(), and Aleph::RevisedSimplex< T >::solve().
| TEST | ( | SimplexClassic | , |
| ZeroRowsAndZeroObjective | |||
| ) |
Definition at line 2441 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), row, Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST | ( | SimplexDefects | , |
| ANegativeRightHandSideIsNotIgnored | |||
| ) |
Definition at line 2016 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::shadow_price(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST | ( | SimplexDefects | , |
| AnInfeasibleProgramIsReported | |||
| ) |
Definition at line 1986 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_state(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::shadow_price(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::update_rhs_and_reoptimize().
| TEST | ( | SimplexDefects | , |
| AnObjectiveAboveTheBigMOfBefore | |||
| ) |
Definition at line 2063 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::put_objetive_function_coef(), and Aleph::Simplex< T >::solve().
| TEST | ( | SimplexDefects | , |
| ColumnsWithTheSameUnitVectorAreNotBothBasic | |||
| ) |
Definition at line 1999 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::is_basic_variable(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST | ( | SimplexDefects | , |
| LargeCoefficientsDoNotHideTheLeavingRow | |||
| ) |
Definition at line 2246 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::put_objetive_function_coef(), and Aleph::Simplex< T >::solve().
| TEST | ( | SimplexDefects | , |
| PrintAndLatexOutput | |||
| ) |
Definition at line 2205 of file Simplex_test.cc.
References Aleph::find(), Aleph::Simplex< T >::get_pivot_count(), k, Aleph::Simplex< T >::latex_linear_program(), Aleph::Simplex< T >::latex_solve(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), out, Aleph::Simplex< T >::print_matrix(), and Aleph::Simplex< T >::put_objetive_function_coef().
| TEST | ( | SimplexDefects | , |
| ReoptimizationOfEqualitiesAndOfGreaterOrEqual | |||
| ) |
Definition at line 2145 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::shadow_price(), Aleph::Simplex< T >::solve(), Aleph::Simplex< T >::update_rhs_and_reoptimize(), and Aleph::Simplex< T >::verify_solution().
| TEST | ( | SimplexDefects | , |
| SensitivityOfEqualitiesAndOfGreaterOrEqual | |||
| ) |
Definition at line 2076 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::is_basic_variable(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objective_sensitivity(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::put_objetive_function_coef(), r, Aleph::Simplex< T >::rhs_sensitivity(), Aleph::Simplex< T >::shadow_price(), and Aleph::Simplex< T >::solve().
| TEST | ( | SimplexDefects | , |
| SmallDataDoNotMakeAPivot | |||
| ) |
Definition at line 2263 of file Simplex_test.cc.
References Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), row, rows, and Aleph::Simplex< T >::solve().
| TEST | ( | SimplexScaling | , |
| SubnormalMagnitudesAreNotScaled | |||
| ) |
Definition at line 2326 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::RevisedSimplex< T >::objective_value(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::RevisedSimplex< T >::set_constraint_row(), Aleph::RevisedSimplex< T >::set_objective(), Aleph::Simplex< T >::solve(), Aleph::RevisedSimplex< T >::solve(), Aleph::Simplex< T >::verify_solution(), and Aleph::RevisedSimplex< T >::verify_solution().
| TEST | ( | SimplexScaling | , |
| TheSensitivityInOtherUnits | |||
| ) |
Definition at line 2303 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objective_sensitivity(), Aleph::Simplex< T >::put_objetive_function_coef(), r, Aleph::Simplex< T >::rhs_sensitivity(), Aleph::Simplex< T >::shadow_price(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::update_rhs_and_reoptimize().
| TEST_F | ( | MinimizationTest | , |
| BasicMinimization | |||
| ) |
Definition at line 1736 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | MinimizationTest | , |
| CompareMinimizeVsNegatedMaximize | |||
| ) |
Definition at line 1919 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::max_value(), Aleph::min_value(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | MinimizationTest | , |
| DietProblem | |||
| ) |
Definition at line 1772 of file Simplex_test.cc.
References EPSILON, Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), Aleph::Simplex< T >::verify_solution(), and y.
| TEST_F | ( | MinimizationTest | , |
| MinimizationWithEquality | |||
| ) |
Definition at line 1879 of file Simplex_test.cc.
References EPSILON, Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), Aleph::Simplex< T >::verify_solution(), and y.
| TEST_F | ( | MinimizationTest | , |
| SetMinimizeMethod | |||
| ) |
Definition at line 1849 of file Simplex_test.cc.
References EPSILON, Aleph::Simplex< T >::get_optimization_type(), Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::set_minimize(), Aleph::Simplex< T >::solve(), Aleph::Simplex< T >::verify_solution(), and y.
| TEST_F | ( | MinimizationTest | , |
| TransportationCostMinimization | |||
| ) |
Definition at line 1809 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | NonStandardConstraintsTest | , |
| EqualityConstraints | |||
| ) |
Definition at line 1555 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), Aleph::sum(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | NonStandardConstraintsTest | , |
| GreaterThanOrEqualConstraints | |||
| ) |
Definition at line 1514 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | NonStandardConstraintsTest | , |
| InfeasibleWithGEConstraints | |||
| ) |
Definition at line 1686 of file Simplex_test.cc.
References Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | NonStandardConstraintsTest | , |
| MixedConstraintTypes | |||
| ) |
Definition at line 1599 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | NonStandardConstraintsTest | , |
| MultipleEqualityConstraints | |||
| ) |
Definition at line 1642 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), Aleph::Simplex< T >::verify_solution(), and y.
| TEST_F | ( | RevisedSimplexTest | , |
| BasicConstructor | |||
| ) |
Definition at line 1274 of file Simplex_test.cc.
References Aleph::RevisedSimplex< T >::get_num_constraints(), Aleph::RevisedSimplex< T >::get_num_vars(), and Aleph::RevisedSimplex< T >::get_state().
| TEST_F | ( | RevisedSimplexTest | , |
| CompareWithStandardSimplex | |||
| ) |
Definition at line 1341 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::RevisedSimplex< T >::objective_value(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::RevisedSimplex< T >::set_constraint_row(), Aleph::RevisedSimplex< T >::set_objective(), Aleph::Simplex< T >::solve(), and Aleph::RevisedSimplex< T >::solve().
| TEST_F | ( | RevisedSimplexTest | , |
| MediumSizeProblem | |||
| ) |
Definition at line 1382 of file Simplex_test.cc.
References m, Aleph::RevisedSimplex< T >::objective_value(), Aleph::RevisedSimplex< T >::set_constraint(), Aleph::RevisedSimplex< T >::set_objective(), Aleph::RevisedSimplex< T >::set_rhs(), Aleph::RevisedSimplex< T >::solve(), and Aleph::RevisedSimplex< T >::verify_solution().
| TEST_F | ( | RevisedSimplexTest | , |
| PerformanceBenchmark | |||
| ) |
Definition at line 1429 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_stats(), Aleph::RevisedSimplex< T >::get_stats(), Aleph::Simplex< T >::load_solution(), m, Aleph::RevisedSimplex< T >::objective_value(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), row, Aleph::RevisedSimplex< T >::set_constraint_row(), Aleph::RevisedSimplex< T >::set_objective(), Aleph::Simplex< T >::solve(), and Aleph::RevisedSimplex< T >::solve().
| TEST_F | ( | RevisedSimplexTest | , |
| SimpleMaximization | |||
| ) |
Definition at line 1283 of file Simplex_test.cc.
References Aleph::RevisedSimplex< T >::get_solution(), Aleph::RevisedSimplex< T >::objective_value(), Aleph::RevisedSimplex< T >::set_constraint_row(), Aleph::RevisedSimplex< T >::set_objective(), Aleph::RevisedSimplex< T >::solve(), and Aleph::RevisedSimplex< T >::verify_solution().
| TEST_F | ( | RevisedSimplexTest | , |
| StatisticsTracking | |||
| ) |
Definition at line 1408 of file Simplex_test.cc.
References Aleph::RevisedSimplex< T >::get_stats(), Aleph::RevisedSimplex< T >::set_constraint_row(), Aleph::RevisedSimplex< T >::set_objective(), and Aleph::RevisedSimplex< T >::solve().
| TEST_F | ( | RevisedSimplexTest | , |
| ThreeVariables | |||
| ) |
| TEST_F | ( | SimplexTest | , |
| AddEmptyRestriction | |||
| ) |
Definition at line 207 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_num_restrictions(), and Aleph::Simplex< T >::put_restriction().
| TEST_F | ( | SimplexTest | , |
| AddMultipleRestrictions | |||
| ) |
Definition at line 193 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_num_restrictions(), and Aleph::Simplex< T >::put_restriction().
| TEST_F | ( | SimplexTest | , |
| AddRestrictionFromArray | |||
| ) |
Definition at line 183 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_num_restrictions(), and Aleph::Simplex< T >::put_restriction().
| TEST_F | ( | SimplexTest | , |
| AddRestrictionFromDynArray | |||
| ) |
Definition at line 270 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_num_restrictions(), Aleph::Simplex< T >::get_restriction_coef(), and Aleph::Simplex< T >::put_restriction().
| TEST_F | ( | SimplexTest | , |
| BlandRuleEnabled | |||
| ) |
Definition at line 1032 of file Simplex_test.cc.
References Aleph::Simplex< T >::enable_bland_rule(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| ConstraintTypesAPI | |||
| ) |
Definition at line 982 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| ConstructorBasic | |||
| ) |
Definition at line 84 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_num_restrictions(), Aleph::Simplex< T >::get_num_vars(), and Aleph::Simplex< T >::get_state().
| TEST_F | ( | SimplexTest | , |
| ConstructorLargeNumber | |||
| ) |
Definition at line 104 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_num_vars().
| TEST_F | ( | SimplexTest | , |
| ConstructorSingleVariable | |||
| ) |
Definition at line 98 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_num_vars().
| TEST_F | ( | SimplexTest | , |
| ConstructorZeroVariablesThrows | |||
| ) |
Definition at line 93 of file Simplex_test.cc.
| TEST_F | ( | SimplexTest | , |
| DietProblem | |||
| ) |
Definition at line 498 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| DualSimplexReoptimize | |||
| ) |
Definition at line 1152 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), Aleph::Simplex< T >::update_rhs_and_reoptimize(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| EqualityConstraintSimulated | |||
| ) |
Definition at line 947 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| FloatType | |||
| ) |
Definition at line 721 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| FractionalSolution | |||
| ) |
Definition at line 681 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| GetNumRestrictions | |||
| ) |
Definition at line 800 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_num_restrictions(), and Aleph::Simplex< T >::put_restriction().
| TEST_F | ( | SimplexTest | , |
| GetNumVars | |||
| ) |
Definition at line 794 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_num_vars().
| TEST_F | ( | SimplexTest | , |
| GetObjectiveCoefficientOutOfRangeThrows | |||
| ) |
Definition at line 135 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_objetive_function_coef().
| TEST_F | ( | SimplexTest | , |
| GetObjectiveFunctionPointer | |||
| ) |
Definition at line 169 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_objetive_function(), and Aleph::Simplex< T >::put_objetive_function_coef().
| TEST_F | ( | SimplexTest | , |
| GetRestrictionCoef | |||
| ) |
Definition at line 247 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_restriction_coef(), and Aleph::Simplex< T >::put_restriction().
| TEST_F | ( | SimplexTest | , |
| GetRestrictionOutOfRangeThrows | |||
| ) |
Definition at line 237 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_restriction(), and Aleph::Simplex< T >::put_restriction().
| TEST_F | ( | SimplexTest | , |
| IndexErrorsGiveTheRangeHalfOpen | |||
| ) |
Definition at line 366 of file Simplex_test.cc.
References Aleph::find(), Aleph::Simplex< T >::get_objetive_function_coef(), and Aleph::Simplex< T >::get_restriction().
| TEST_F | ( | SimplexTest | , |
| IsBasicVariable | |||
| ) |
Definition at line 1239 of file Simplex_test.cc.
References Aleph::Simplex< T >::is_basic_variable(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| LargeCoefficients | |||
| ) |
Definition at line 875 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| LargeDegenerateProblem | |||
| ) |
Definition at line 1183 of file Simplex_test.cc.
References Aleph::Simplex< T >::enable_bland_rule(), Aleph::Simplex< T >::get_stats(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| MediumSizeProblem | |||
| ) |
Definition at line 818 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| MinimizationModeAPI | |||
| ) |
Definition at line 903 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_optimization_type(), Aleph::Simplex< T >::load_solution(), Aleph::max_value(), Aleph::min_value(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| ModifyRestrictionAfterAdd | |||
| ) |
Definition at line 222 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_restriction(), and Aleph::Simplex< T >::put_restriction().
| TEST_F | ( | SimplexTest | , |
| ProductMixProblem | |||
| ) |
Definition at line 465 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| PutRestrictionAfterPrepareThrowsAndKeepsTheProgram | |||
| ) |
Definition at line 327 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_num_restrictions(), Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_eq_restriction(), Aleph::Simplex< T >::put_ge_restriction(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| PutRestrictionCoef | |||
| ) |
Definition at line 258 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_restriction_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::put_restriction_coef().
| TEST_F | ( | SimplexTest | , |
| ReducedCosts | |||
| ) |
Definition at line 1126 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_all_reduced_costs(), Aleph::Simplex< T >::is_basic_variable(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| RedundantConstraint | |||
| ) |
Definition at line 650 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| SensitivityAnalysisObjective | |||
| ) |
Definition at line 1063 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objective_sensitivity(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::range(), Aleph::Simplex< T >::rhs_sensitivity(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| SetMinimizeMaximize | |||
| ) |
Definition at line 1226 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_optimization_type(), Aleph::Simplex< T >::set_maximize(), and Aleph::Simplex< T >::set_minimize().
| TEST_F | ( | SimplexTest | , |
| SetObjectiveCoefficient | |||
| ) |
Definition at line 114 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_objetive_function_coef(), and Aleph::Simplex< T >::put_objetive_function_coef().
| TEST_F | ( | SimplexTest | , |
| SetObjectiveCoefficientOutOfRangeThrows | |||
| ) |
Definition at line 127 of file Simplex_test.cc.
References Aleph::Simplex< T >::put_objetive_function_coef().
| TEST_F | ( | SimplexTest | , |
| SetObjectiveFunctionFromArray | |||
| ) |
Definition at line 142 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_objetive_function_coef(), and Aleph::Simplex< T >::put_objetive_function().
| TEST_F | ( | SimplexTest | , |
| SetObjectiveFunctionFromDynArray | |||
| ) |
Definition at line 154 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_objetive_function_coef(), and Aleph::Simplex< T >::put_objetive_function().
| TEST_F | ( | SimplexTest | , |
| ShadowPrices | |||
| ) |
Definition at line 1100 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_all_shadow_prices(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| SimpleMaximization | |||
| ) |
Definition at line 396 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| SingleVariableSingleConstraint | |||
| ) |
Definition at line 566 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| SmallCoefficients | |||
| ) |
Definition at line 852 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| SolveTwiceThrows | |||
| ) |
Definition at line 309 of file Simplex_test.cc.
References Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| SolveWithoutPrepareThrows | |||
| ) |
Definition at line 298 of file Simplex_test.cc.
References Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| SolveWithoutRestrictionThrows | |||
| ) |
Definition at line 289 of file Simplex_test.cc.
References Aleph::Simplex< T >::prepare_linear_program(), and Aleph::Simplex< T >::put_objetive_function_coef().
| TEST_F | ( | SimplexTest | , |
| StateTransitions | |||
| ) |
Definition at line 747 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_state(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| StatisticsTracking | |||
| ) |
Definition at line 1011 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_stats(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().
| TEST_F | ( | SimplexTest | , |
| ThreeVariableProblem | |||
| ) |
Definition at line 431 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| TightConstraints | |||
| ) |
Definition at line 617 of file Simplex_test.cc.
References Aleph::Simplex< T >::get_solution(), Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| TransportationVariant | |||
| ) |
Definition at line 528 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| VerifySolutionTrue | |||
| ) |
Definition at line 771 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), Aleph::Simplex< T >::solve(), and Aleph::Simplex< T >::verify_solution().
| TEST_F | ( | SimplexTest | , |
| ZeroObjectiveCoefficient | |||
| ) |
Definition at line 589 of file Simplex_test.cc.
References Aleph::Simplex< T >::load_solution(), Aleph::Simplex< T >::objetive_value(), Aleph::Simplex< T >::prepare_linear_program(), Aleph::Simplex< T >::put_objetive_function_coef(), Aleph::Simplex< T >::put_restriction(), and Aleph::Simplex< T >::solve().