Description
Find the exact fromFamily/toFamily pair, returning its cost and found true, or defaultCost and found false.
Production cost models separate setup, fixed, variable, and transition costs. A break-even intersection or amortized unit cost reflects supplied linear assumptions.
Find the exact fromFamily/toFamily pair, returning its cost and found true, or defaultCost and found false.
When to use this tool
Use Changeover Sequence Cost Edge when you need one explicit production cost or transition term.
How to use the tool and how it works
- Enter fromFamily, toFamily, fromKeys, toKeys, suppliedCosts, defaultCost. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read found, cost. Inspect found before interpreting the associated values.
Require aligned unique ordered family-pair keys and suppliedCosts. Find the exact fromFamily/toFamily pair, returning its cost and found true, or defaultCost and found false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| fromFamily | From Family | Required. Text; maximum UTF-16 length 8192. |
| toFamily | To Family | Required. Text; maximum UTF-16 length 8192. |
| fromKeys | From Keys | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| toKeys | To Keys | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| suppliedCosts | Supplied Costs | Required. Array of finite number; maximum items 256. |
| defaultCost | Default Cost | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| found | Whether the requested row, date, or transition was located; inspect this before using fallback output. | Required. Boolean. |
| cost | Cost | Required. Finite number. |
{
"input": {
"fromFamily": "A",
"toFamily": "B",
"fromKeys": [
"A",
"B"
],
"toKeys": [
"B",
"A"
],
"suppliedCosts": [
10,
20
],
"defaultCost": 5
},
"output": {
"found": true,
"cost": 10
}
} Limitations and assumptions
- Costs may be signed and direction matters; a fallback is not a verified transition cost or an optimized production sequence.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Compare complete feasible production options and include demand uncertainty, capacity, and accounting conventions.
References
Similar or alternative tools
- Setup Family Switch Cost Token
Compare previousFamily and nextFamily exactly.
- Production Cost Fixed Variable Breakpoint
For distinct variable costs, divide secondFixed - firstFixed by firstVariable - secondVariable for breakEvenVolume.