AddVariables(IEnumerable, IEnumerable, IEnumerable, IEnumerable, IEnumerable) Method
// Create a multi-dimensional map of binary variables
Optimizer.Maps.HashMap5<K1 ,K2 ,K3 ,K4 ,K5,Optimizer.Objects.Variable> x = prob.AddVariables(iterable1 ,iterable2 ,iterable3 ,iterable4 ,iterable5)
.WithType(Optimizer.Objects.ColumnType.Binary)
.ToMap();
Namespace: Optimizer.Objects
Assembly: xprsdn (in xprsdn.dll) Version: 45.01.02+1f9fd7ff9a8620394fec1839699751312debed40
public VariableBuilderVariableMap5Builder<K1, K2, K3, K4, K5> AddVariables<K1, K2, K3, K4, K5>( IEnumerable<K1> iterable1, IEnumerable<K2> iterable2, IEnumerable<K3> iterable3, IEnumerable<K4> iterable4, IEnumerable<K5> iterable5 )
Parameters
- iterable1 IEnumerable K1
- Data for dimension 1.
- iterable2 IEnumerable K2
- Data for dimension 2.
- iterable3 IEnumerable K3
- Data for dimension 3.
- iterable4 IEnumerable K4
- Data for dimension 4.
- iterable5 IEnumerable K5
- Data for dimension 5.
Type Parameters
- K1
- Data type for dimension 1.
- K2
- Data type for dimension 2.
- K3
- Data type for dimension 3.
- K4
- Data type for dimension 4.
- K5
- Data type for dimension 5.
Return Value
VariableBuilderVariableMap5Builder K1, K2, K3, K4, K5A builder that will create the variables.
- BinBurglar.cs
- BoolVars.cs
- Boxes02.cs
- CapBgt2l.cs
- CapitalBudgeting.cs
- Catenary.cs
- ContractAllocation.cs
- CuttingStock.cs
- ELS.cs
- ELSCut.cs
- ELSManagedCuts.cs
- FacilityLocationArray.cs
- FacilityLocationCollection.cs
- Folio.cs
- FolioCB.cs
- FolioHeuristic.cs
- FolioIIS.cs
- FolioInit.cs
- FolioMip1.cs
- FolioMip2.cs
- FolioMipIIS.cs
- FolioQC.cs
- FolioQP.cs
- GeneralConstraints.cs
- MultipleKnapsack_Arrays.cs
- MultipleKnapsack_Collections.cs
- PolygonObjects.cs
- Pplan.cs
- Pplan2.cs
- ProductionPlanning_Index.cs
- PurchasePWL.cs
- PurchaseSOS2.cs
- RecursiveFinancialPlanning.cs
- Sangraalind.cs
- SpecialOrderedSets.cs
- SpecialOrderedSetsQuadratic.cs
- TravelingSalesPerson.cs
© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.