VariableBuilder.ColumnArray3Builder
- java.lang.Object
-
- com.dashoptimization.VariableBuilder.ColumnArray3Builder
-
- Enclosing class:
- VariableBuilder
public static final class VariableBuilder.ColumnArray3Builder extends java.lang.Object
Build a 3-dimensional array of columns.- Since:
- 43.00
-
-
Constructor Summary
Constructor Description ColumnArray3Builder(int dim1, int dim2, int dim3, XPRSprob prob)
Create a builder that will create a 3-dimensional array of columns with the specified dimensions.
-
Method Summary
Modifier and Type Method Description int[][][]
toArray()
Create columns as specified by this builder.<I> I
toArray(java.util.function.Supplier<I> makeResult, Action5<I,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.Integer> addResult)
Create columns as specified by this builder.VariableBuilder.ColumnArray3Builder
withLB(double newLb)
Set a constant lower bound for all columns.VariableBuilder.ColumnArray3Builder
withLB(double[][][] newLb)
Set a lower bound that is given by an array.VariableBuilder.ColumnArray3Builder
withLB(IntFunction3<java.lang.Double> newLb)
Set a lower bound that depends on the index.VariableBuilder.ColumnArray3Builder
withLimit(double newLimit)
Set a constant limit for all columns.VariableBuilder.ColumnArray3Builder
withLimit(double[][][] newLimit)
Set a limit that is given by an array.VariableBuilder.ColumnArray3Builder
withLimit(IntFunction3<java.lang.Double> newLimit)
Set a limit that depends on the index.VariableBuilder.ColumnArray3Builder
withName(IntFunction3<java.lang.String> newName)
Set a name that depends on the index.VariableBuilder.ColumnArray3Builder
withName(java.lang.String newName)
Set a constant name for all columns.VariableBuilder.ColumnArray3Builder
withName(java.lang.String[][][] newName)
Set a name bound that is given by an array.VariableBuilder.ColumnArray3Builder
withType(ColumnType newType)
Set the type for all columns.VariableBuilder.ColumnArray3Builder
withType(ColumnType[][][] newType)
Set a type that is given by an array.VariableBuilder.ColumnArray3Builder
withType(IntFunction3<ColumnType> newType)
Set a type that depends on the index.VariableBuilder.ColumnArray3Builder
withUB(double newUb)
Set a constant upper bound for all columns.VariableBuilder.ColumnArray3Builder
withUB(double[][][] newUb)
Set an upper bound that is given by an array.VariableBuilder.ColumnArray3Builder
withUB(IntFunction3<java.lang.Double> newUb)
Set a upper bound that depends on the index.
-
-
-
Constructor Detail
-
ColumnArray3Builder
public ColumnArray3Builder(int dim1, int dim2, int dim3, XPRSprob prob)
Create a builder that will create a 3-dimensional array of columns with the specified dimensions.- Parameters:
-
dim1
- Dimension 1. -
dim2
- Dimension 2. -
dim3
- Dimension 3. -
prob
- The problem for which to create columns. - Since:
- 43.00
-
-
Method Detail
-
withLB
public VariableBuilder.ColumnArray3Builder withLB(IntFunction3<java.lang.Double> newLb)
Set a lower bound that depends on the index.Examples using
withLB
:- Parameters:
-
newLb
- The lower bound for all columns created by this builder. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withLB
public VariableBuilder.ColumnArray3Builder withLB(double newLb)
Set a constant lower bound for all columns.Examples using
withLB
:- Parameters:
-
newLb
- The lower bound for all columns created by this builder. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withLB
public VariableBuilder.ColumnArray3Builder withLB(double[][][] newLb)
Set a lower bound that is given by an array. The dimension(s) of the passed array must match the dimension(s) that were passed to the constructor.Examples using
withLB
:- Parameters:
-
newLb
- Lower bounds for the individual columns. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withUB
public VariableBuilder.ColumnArray3Builder withUB(IntFunction3<java.lang.Double> newUb)
Set a upper bound that depends on the index.Examples using
withUB
:- CuttingStock.java
- FacilityLocationArray.java
- FolioMip2.java
- MultipleProblems.java
- Polygon.java
- PolygonMap.java
- PolygonMapDelta.java
- PolygonMultiMap.java
- PolygonMultiMapDelta.java
- PolygonObjects.java
- PolygonVecMap.java
- PolygonVecMapDelta.java
- ProductionPlanning_Index.java
- PurchasePWL.java
- PurchaseSOS2.java
- TravelingSalesPerson.java
- Parameters:
-
newUb
- The upper bound for all columns created by this builder. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withUB
public VariableBuilder.ColumnArray3Builder withUB(double newUb)
Set a constant upper bound for all columns.Examples using
withUB
:- CuttingStock.java
- FacilityLocationArray.java
- FolioMip2.java
- MultipleProblems.java
- Polygon.java
- PolygonMap.java
- PolygonMapDelta.java
- PolygonMultiMap.java
- PolygonMultiMapDelta.java
- PolygonObjects.java
- PolygonVecMap.java
- PolygonVecMapDelta.java
- ProductionPlanning_Index.java
- PurchasePWL.java
- PurchaseSOS2.java
- TravelingSalesPerson.java
- Parameters:
-
newUb
- The upper bound for all columns created by this builder. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withUB
public VariableBuilder.ColumnArray3Builder withUB(double[][][] newUb)
Set an upper bound that is given by an array. The dimension(s) of the passed array must match the dimension(s) that were passed to the constructor.Examples using
withUB
:- CuttingStock.java
- FacilityLocationArray.java
- FolioMip2.java
- MultipleProblems.java
- Polygon.java
- PolygonMap.java
- PolygonMapDelta.java
- PolygonMultiMap.java
- PolygonMultiMapDelta.java
- PolygonObjects.java
- PolygonVecMap.java
- PolygonVecMapDelta.java
- ProductionPlanning_Index.java
- PurchasePWL.java
- PurchaseSOS2.java
- TravelingSalesPerson.java
- Parameters:
-
newUb
- Upper bounds for the individual columns. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withLimit
public VariableBuilder.ColumnArray3Builder withLimit(IntFunction3<java.lang.Double> newLimit)
Set a limit that depends on the index. A limit specifies the bounds for semi-continuous/integer columns and the limit for partial integer columns. It does not apply to columns of other types.Examples using
withLimit
:- Parameters:
-
newLimit
- The limit for all columns created by this builder. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withLimit
public VariableBuilder.ColumnArray3Builder withLimit(double newLimit)
Set a constant limit for all columns. A limit specifies the bounds for semi-continuous/integer columns and the limit for partial integer columns. It does not apply to columns of other types.Examples using
withLimit
:- Parameters:
-
newLimit
- The limit for all columns created by this builder. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withLimit
public VariableBuilder.ColumnArray3Builder withLimit(double[][][] newLimit)
Set a limit that is given by an array. The dimension(s) of the passed array must match the dimension(s) that were passed to the constructor.Examples using
withLimit
:- Parameters:
-
newLimit
- Limits for the individual columns. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withName
public VariableBuilder.ColumnArray3Builder withName(IntFunction3<java.lang.String> newName)
Set a name that depends on the index.Examples using
withName
:- Boxes02.java
- Capbgt2l.java
- CuttingStock.java
- ELS.java
- ELSCut.java
- ELSManagedCuts.java
- FacilityLocationCollection.java
- FolioCB.java
- FolioHeuristic.java
- FolioIIS.java
- FolioInit.java
- FolioMip1.java
- FolioMipIIS.java
- FolioQC.java
- FolioQP.java
- MultipleKnapsack_Arrays.java
- MultipleKnapsack_Collections.java
- MultipleProblems.java
- Polygon.java
- PolygonMap.java
- PolygonMapDelta.java
- PolygonMultiMap.java
- PolygonMultiMapDelta.java
- PolygonVecMap.java
- PolygonVecMapDelta.java
- RecursiveFinancialPlanning.java
- Sangraalind.java
- SpecialOrderedSetsQuadratic.java
- TravelingSalesPerson.java
- Parameters:
-
newName
- The name for all columns created by this builder. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withName
public VariableBuilder.ColumnArray3Builder withName(java.lang.String newName)
Set a constant name for all columns.Examples using
withName
:- Boxes02.java
- Capbgt2l.java
- CuttingStock.java
- ELS.java
- ELSCut.java
- ELSManagedCuts.java
- FacilityLocationCollection.java
- FolioCB.java
- FolioHeuristic.java
- FolioIIS.java
- FolioInit.java
- FolioMip1.java
- FolioMipIIS.java
- FolioQC.java
- FolioQP.java
- MultipleKnapsack_Arrays.java
- MultipleKnapsack_Collections.java
- MultipleProblems.java
- Polygon.java
- PolygonMap.java
- PolygonMapDelta.java
- PolygonMultiMap.java
- PolygonMultiMapDelta.java
- PolygonVecMap.java
- PolygonVecMapDelta.java
- RecursiveFinancialPlanning.java
- Sangraalind.java
- SpecialOrderedSetsQuadratic.java
- TravelingSalesPerson.java
- Parameters:
-
newName
- The name for all columns created by this builder. This must benull
or a format string that will be invoked with the index as argument. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withName
public VariableBuilder.ColumnArray3Builder withName(java.lang.String[][][] newName)
Set a name bound that is given by an array. The dimension(s) of the passed array must match the dimension(s) that were passed to the constructor.Examples using
withName
:- Boxes02.java
- Capbgt2l.java
- CuttingStock.java
- ELS.java
- ELSCut.java
- ELSManagedCuts.java
- FacilityLocationCollection.java
- FolioCB.java
- FolioHeuristic.java
- FolioIIS.java
- FolioInit.java
- FolioMip1.java
- FolioMipIIS.java
- FolioQC.java
- FolioQP.java
- MultipleKnapsack_Arrays.java
- MultipleKnapsack_Collections.java
- MultipleProblems.java
- Polygon.java
- PolygonMap.java
- PolygonMapDelta.java
- PolygonMultiMap.java
- PolygonMultiMapDelta.java
- PolygonVecMap.java
- PolygonVecMapDelta.java
- RecursiveFinancialPlanning.java
- Sangraalind.java
- SpecialOrderedSetsQuadratic.java
- TravelingSalesPerson.java
- Parameters:
-
newName
- Names for the individual columns. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withType
public VariableBuilder.ColumnArray3Builder withType(IntFunction3<ColumnType> newType)
Set a type that depends on the index.Examples using
withType
:- Parameters:
-
newType
- The type for all columns created by this builder. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withType
public VariableBuilder.ColumnArray3Builder withType(ColumnType newType)
Set the type for all columns.Examples using
withType
:- Parameters:
-
newType
- The type for all columns created by this builder. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
withType
public VariableBuilder.ColumnArray3Builder withType(ColumnType[][][] newType)
Set a type that is given by an array. The dimension(s) of the passed array must match the dimension(s) that were passed to the constructor.Examples using
withType
:- Parameters:
-
newType
- Types for the individual columns. - Returns:
- Always returns this instance.
- Since:
- 43.00
-
toArray
public int[][][] toArray()
Create columns as specified by this builder.Examples using
toArray
:- BinBurglar.java
- BoolVars.java
- Boxes02.java
- Capbgt2l.java
- CapitalBudgeting.java
- Catenary.java
- ContractAllocation.java
- CuttingStock.java
- ELS.java
- ELSCut.java
- ELSManagedCuts.java
- FacilityLocationArray.java
- Folio.java
- FolioCB.java
- FolioHeuristic.java
- FolioIIS.java
- FolioInit.java
- FolioMip1.java
- FolioMip2.java
- FolioMipIIS.java
- FolioQC.java
- FolioQP.java
- GeneralConstraints.java
- Glidert.java
- MultipleKnapsack_Arrays.java
- MultipleKnapsack_Collections.java
- MultipleProblems.java
- Polygon.java
- PolygonMap.java
- PolygonMapDelta.java
- PolygonMultiMap.java
- PolygonMultiMapDelta.java
- PolygonObjects.java
- PolygonVecMap.java
- PolygonVecMapDelta.java
- Pplan.java
- Pplan2.java
- ProductionPlanning_Index.java
- PurchasePWL.java
- PurchaseSOS2.java
- RecursiveFinancialPlanning.java
- Sangraalind.java
- SpecialOrderedSets.java
- SpecialOrderedSetsQuadratic.java
- TSP.java
- TravelingSalesPerson.java
- Since:
- 43.00
-
toArray
public <I> I toArray(java.util.function.Supplier<I> makeResult, Action5<I,java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.Integer> addResult)
Create columns as specified by this builder.Examples using
toArray
:- BinBurglar.java
- BoolVars.java
- Boxes02.java
- Capbgt2l.java
- CapitalBudgeting.java
- Catenary.java
- ContractAllocation.java
- CuttingStock.java
- ELS.java
- ELSCut.java
- ELSManagedCuts.java
- FacilityLocationArray.java
- Folio.java
- FolioCB.java
- FolioHeuristic.java
- FolioIIS.java
- FolioInit.java
- FolioMip1.java
- FolioMip2.java
- FolioMipIIS.java
- FolioQC.java
- FolioQP.java
- GeneralConstraints.java
- Glidert.java
- MultipleKnapsack_Arrays.java
- MultipleKnapsack_Collections.java
- MultipleProblems.java
- Polygon.java
- PolygonMap.java
- PolygonMapDelta.java
- PolygonMultiMap.java
- PolygonMultiMapDelta.java
- PolygonObjects.java
- PolygonVecMap.java
- PolygonVecMapDelta.java
- Pplan.java
- Pplan2.java
- ProductionPlanning_Index.java
- PurchasePWL.java
- PurchaseSOS2.java
- RecursiveFinancialPlanning.java
- Sangraalind.java
- SpecialOrderedSets.java
- SpecialOrderedSetsQuadratic.java
- TSP.java
- TravelingSalesPerson.java
- Type Parameters:
-
I
- Type of return value. - Parameters:
-
makeResult
- A function to create the (empty) return value. -
addResult
- A function to add a value to the result. - Returns:
- The array of columns.
- Since:
- 43.00
-
-
© 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.