@elaraai/east-py-datascience 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/src/alns/alns.d.ts +528 -0
  2. package/dist/src/alns/alns.d.ts.map +1 -0
  3. package/dist/src/alns/alns.js +238 -0
  4. package/dist/src/alns/alns.js.map +1 -0
  5. package/dist/src/google_or/google_or.d.ts +2457 -0
  6. package/dist/src/google_or/google_or.d.ts.map +1 -0
  7. package/dist/src/google_or/google_or.js +547 -0
  8. package/dist/src/google_or/google_or.js.map +1 -0
  9. package/dist/src/gp/gp.d.ts +447 -0
  10. package/dist/src/gp/gp.d.ts.map +1 -0
  11. package/dist/src/gp/gp.js +222 -0
  12. package/dist/src/gp/gp.js.map +1 -0
  13. package/dist/src/index.d.ts +34 -0
  14. package/dist/src/index.d.ts.map +1 -0
  15. package/dist/src/index.js +57 -0
  16. package/dist/src/index.js.map +1 -0
  17. package/dist/src/lightgbm/lightgbm.d.ts +575 -0
  18. package/dist/src/lightgbm/lightgbm.d.ts.map +1 -0
  19. package/dist/src/lightgbm/lightgbm.js +241 -0
  20. package/dist/src/lightgbm/lightgbm.js.map +1 -0
  21. package/dist/src/lightning/lightning.d.ts +1594 -0
  22. package/dist/src/lightning/lightning.d.ts.map +1 -0
  23. package/dist/src/lightning/lightning.js +468 -0
  24. package/dist/src/lightning/lightning.js.map +1 -0
  25. package/dist/src/mads/mads.d.ts +410 -0
  26. package/dist/src/mads/mads.d.ts.map +1 -0
  27. package/dist/src/mads/mads.js +219 -0
  28. package/dist/src/mads/mads.js.map +1 -0
  29. package/dist/src/mapie/mapie.d.ts +3680 -0
  30. package/dist/src/mapie/mapie.d.ts.map +1 -0
  31. package/dist/src/mapie/mapie.js +616 -0
  32. package/dist/src/mapie/mapie.js.map +1 -0
  33. package/dist/src/ngboost/ngboost.d.ts +483 -0
  34. package/dist/src/ngboost/ngboost.d.ts.map +1 -0
  35. package/dist/src/ngboost/ngboost.js +231 -0
  36. package/dist/src/ngboost/ngboost.js.map +1 -0
  37. package/dist/src/optimization/optimization.d.ts +700 -0
  38. package/dist/src/optimization/optimization.d.ts.map +1 -0
  39. package/dist/src/optimization/optimization.js +411 -0
  40. package/dist/src/optimization/optimization.js.map +1 -0
  41. package/dist/src/optuna/optuna.d.ts +857 -0
  42. package/dist/src/optuna/optuna.d.ts.map +1 -0
  43. package/dist/src/optuna/optuna.js +270 -0
  44. package/dist/src/optuna/optuna.js.map +1 -0
  45. package/dist/src/pymc/pymc.d.ts +2932 -0
  46. package/dist/src/pymc/pymc.d.ts.map +1 -0
  47. package/dist/src/pymc/pymc.js +688 -0
  48. package/dist/src/pymc/pymc.js.map +1 -0
  49. package/dist/src/scipy/scipy.d.ts +2205 -0
  50. package/dist/src/scipy/scipy.d.ts.map +1 -0
  51. package/dist/src/scipy/scipy.js +884 -0
  52. package/dist/src/scipy/scipy.js.map +1 -0
  53. package/dist/src/shap/shap.d.ts +4611 -0
  54. package/dist/src/shap/shap.d.ts.map +1 -0
  55. package/dist/src/shap/shap.js +552 -0
  56. package/dist/src/shap/shap.js.map +1 -0
  57. package/dist/src/simanneal/simanneal.d.ts +628 -0
  58. package/dist/src/simanneal/simanneal.d.ts.map +1 -0
  59. package/dist/src/simanneal/simanneal.js +328 -0
  60. package/dist/src/simanneal/simanneal.js.map +1 -0
  61. package/dist/src/simulation/simulation.d.ts +224 -0
  62. package/dist/src/simulation/simulation.d.ts.map +1 -0
  63. package/dist/src/simulation/simulation.js +189 -0
  64. package/dist/src/simulation/simulation.js.map +1 -0
  65. package/dist/src/sklearn/sklearn.d.ts +6362 -0
  66. package/dist/src/sklearn/sklearn.d.ts.map +1 -0
  67. package/dist/src/sklearn/sklearn.js +1508 -0
  68. package/dist/src/sklearn/sklearn.js.map +1 -0
  69. package/dist/src/torch/torch.d.ts +1205 -0
  70. package/dist/src/torch/torch.d.ts.map +1 -0
  71. package/dist/src/torch/torch.js +440 -0
  72. package/dist/src/torch/torch.js.map +1 -0
  73. package/dist/src/types.d.ts +43 -0
  74. package/dist/src/types.d.ts.map +1 -0
  75. package/dist/src/types.js +44 -0
  76. package/dist/src/types.js.map +1 -0
  77. package/dist/src/xgboost/xgboost.d.ts +1424 -0
  78. package/dist/src/xgboost/xgboost.d.ts.map +1 -0
  79. package/dist/src/xgboost/xgboost.js +432 -0
  80. package/dist/src/xgboost/xgboost.js.map +1 -0
  81. package/package.json +3 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google_or.d.ts","sourceRoot":"","sources":["../../../src/google_or/google_or.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,OAAO,EAEH,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,QAAQ,EACR,WAAW,EACX,WAAW,EACX,SAAS,EACT,QAAQ,EACR,UAAU,EACb,MAAM,eAAe,CAAC;AAMvB;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;EAM7B,CAAC;AAMH,mCAAmC;AACnC,eAAO,MAAM,eAAe;;;;EAI1B,CAAC;AAEH,mCAAmC;AACnC,eAAO,MAAM,gBAAgB;;EAE3B,CAAC;AAEH,oCAAoC;AACpC,eAAO,MAAM,oBAAoB;;;;;;EAM/B,CAAC;AAEH,kDAAkD;AAClD,eAAO,MAAM,mBAAmB;;;EAG9B,CAAC;AAEH,4DAA4D;AAC5D,eAAO,MAAM,mBAAmB;;;;;;EAG9B,CAAC;AAEH,4CAA4C;AAC5C,eAAO,MAAM,gBAAgB;;;EAG3B,CAAC;AAEH,kDAAkD;AAClD,eAAO,MAAM,mBAAmB;;;;;EAK9B,CAAC;AASH;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+C9B,CAAC;AAEH,kEAAkE;AAClE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;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for details.
4
+ */
5
+ /**
6
+ * Google OR-Tools optimization platform functions.
7
+ *
8
+ * Provides constraint programming (CP-SAT), vehicle routing, linear programming,
9
+ * and graph algorithms using Google OR-Tools.
10
+ *
11
+ * @packageDocumentation
12
+ */
13
+ import { East, StructType, VariantType, OptionType, ArrayType, DictType, IntegerType, BooleanType, FloatType, NullType, StringType, } from "@elaraai/east";
14
+ // ============================================================================
15
+ // Shared Types
16
+ // ============================================================================
17
+ /**
18
+ * Solver status — shared across all OR-Tools solvers.
19
+ */
20
+ export const GoogleOrStatusType = VariantType({
21
+ optimal: NullType,
22
+ feasible: NullType,
23
+ infeasible: NullType,
24
+ not_solved: NullType,
25
+ model_invalid: NullType,
26
+ });
27
+ // ============================================================================
28
+ // CP-SAT Types
29
+ // ============================================================================
30
+ /** Integer variable definition. */
31
+ export const CpSatIntVarType = StructType({
32
+ name: StringType,
33
+ lower_bound: IntegerType,
34
+ upper_bound: IntegerType,
35
+ });
36
+ /** Boolean variable definition. */
37
+ export const CpSatBoolVarType = StructType({
38
+ name: StringType,
39
+ });
40
+ /** Interval variable definition. */
41
+ export const CpSatIntervalVarType = StructType({
42
+ name: StringType,
43
+ start: StringType,
44
+ size: StringType,
45
+ end: StringType,
46
+ is_present: OptionType(StringType),
47
+ });
48
+ /** A term in a linear expression: coeff * var. */
49
+ export const CpSatLinearTermType = StructType({
50
+ var: StringType,
51
+ coeff: IntegerType,
52
+ });
53
+ /** A linear expression: sum(coeff_i * var_i) + constant. */
54
+ export const CpSatLinearExprType = StructType({
55
+ terms: ArrayType(CpSatLinearTermType),
56
+ constant: IntegerType,
57
+ });
58
+ /** A boolean literal (possibly negated). */
59
+ export const CpSatLiteralType = StructType({
60
+ var: StringType,
61
+ negated: BooleanType,
62
+ });
63
+ /** Comparison operator for linear constraints. */
64
+ export const CpSatComparisonType = VariantType({
65
+ equal: NullType,
66
+ not_equal: NullType,
67
+ less_equal: NullType,
68
+ greater_equal: NullType,
69
+ });
70
+ /** Arc for circuit constraints. */
71
+ const CpSatCircuitArcType = StructType({
72
+ tail: IntegerType,
73
+ head: IntegerType,
74
+ literal: StringType,
75
+ });
76
+ /**
77
+ * CP-SAT constraint variant.
78
+ *
79
+ * Supports: linear, boolean logic, cardinality, combinatorial, scheduling, sequencing.
80
+ */
81
+ export const CpSatConstraintType = VariantType({
82
+ linear: StructType({
83
+ expr: CpSatLinearExprType,
84
+ op: CpSatComparisonType,
85
+ rhs: IntegerType,
86
+ }),
87
+ bool_or: StructType({
88
+ literals: ArrayType(CpSatLiteralType),
89
+ }),
90
+ bool_and: StructType({
91
+ literals: ArrayType(CpSatLiteralType),
92
+ }),
93
+ implication: StructType({
94
+ if_literal: CpSatLiteralType,
95
+ then_literal: CpSatLiteralType,
96
+ }),
97
+ exactly_k: StructType({
98
+ vars: ArrayType(StringType),
99
+ k: IntegerType,
100
+ }),
101
+ at_most_k: StructType({
102
+ vars: ArrayType(StringType),
103
+ k: IntegerType,
104
+ }),
105
+ at_least_k: StructType({
106
+ vars: ArrayType(StringType),
107
+ k: IntegerType,
108
+ }),
109
+ all_different: StructType({
110
+ vars: ArrayType(StringType),
111
+ }),
112
+ element: StructType({
113
+ index_var: StringType,
114
+ values: ArrayType(IntegerType),
115
+ target_var: StringType,
116
+ }),
117
+ no_overlap: StructType({
118
+ intervals: ArrayType(StringType),
119
+ }),
120
+ cumulative: StructType({
121
+ intervals: ArrayType(StringType),
122
+ demands: ArrayType(IntegerType),
123
+ capacity: IntegerType,
124
+ }),
125
+ circuit: StructType({
126
+ arcs: ArrayType(CpSatCircuitArcType),
127
+ }),
128
+ });
129
+ /** CP-SAT objective: minimize or maximize a linear expression. */
130
+ export const CpSatObjectiveType = VariantType({
131
+ minimize: CpSatLinearExprType,
132
+ maximize: CpSatLinearExprType,
133
+ });
134
+ /** Declarative CP-SAT model. */
135
+ export const CpSatModelType = StructType({
136
+ int_vars: ArrayType(CpSatIntVarType),
137
+ bool_vars: ArrayType(CpSatBoolVarType),
138
+ interval_vars: ArrayType(CpSatIntervalVarType),
139
+ constraints: ArrayType(CpSatConstraintType),
140
+ objective: OptionType(CpSatObjectiveType),
141
+ });
142
+ /** CP-SAT solver configuration. */
143
+ export const CpSatConfigType = StructType({
144
+ max_time_seconds: OptionType(FloatType),
145
+ num_workers: OptionType(IntegerType),
146
+ log_search_progress: OptionType(BooleanType),
147
+ seed: OptionType(IntegerType),
148
+ max_solutions: OptionType(IntegerType),
149
+ /** Stop with status OPTIMAL once (best - lower_bound) / |best| ≤ this.
150
+ * e.g. 0.005 → stop at 0.5% proven gap. */
151
+ relative_gap_limit: OptionType(FloatType),
152
+ /** Stop with status OPTIMAL once (best - lower_bound) ≤ this (in objective units). */
153
+ absolute_gap_limit: OptionType(FloatType),
154
+ });
155
+ /** CP-SAT solution result. */
156
+ export const CpSatResultType = StructType({
157
+ status: GoogleOrStatusType,
158
+ objective_value: OptionType(FloatType),
159
+ assignments: DictType(StringType, IntegerType),
160
+ wall_time: FloatType,
161
+ });
162
+ // ============================================================================
163
+ // Routing Types
164
+ // ============================================================================
165
+ /** First solution strategy for routing. */
166
+ export const RoutingFirstSolutionType = VariantType({
167
+ path_cheapest_arc: NullType,
168
+ savings: NullType,
169
+ christofides: NullType,
170
+ parallel_cheapest_insertion: NullType,
171
+ local_cheapest_insertion: NullType,
172
+ first_unbound_min_value: NullType,
173
+ });
174
+ /** Local search metaheuristic for routing. */
175
+ export const RoutingMetaheuristicType = VariantType({
176
+ greedy_descent: NullType,
177
+ guided_local_search: NullType,
178
+ simulated_annealing: NullType,
179
+ tabu_search: NullType,
180
+ });
181
+ /** Time window constraint for a node. */
182
+ export const RoutingTimeWindowType = StructType({
183
+ start: IntegerType,
184
+ end: IntegerType,
185
+ });
186
+ /** Pickup-delivery pair. */
187
+ export const RoutingPickupDeliveryType = StructType({
188
+ pickup: IntegerType,
189
+ delivery: IntegerType,
190
+ });
191
+ /** Vehicle routing model. */
192
+ export const RoutingModelType = StructType({
193
+ distance_matrix: ArrayType(ArrayType(IntegerType)),
194
+ num_vehicles: IntegerType,
195
+ depot: IntegerType,
196
+ demands: OptionType(ArrayType(IntegerType)),
197
+ vehicle_capacities: OptionType(ArrayType(IntegerType)),
198
+ time_matrix: OptionType(ArrayType(ArrayType(IntegerType))),
199
+ time_windows: OptionType(ArrayType(RoutingTimeWindowType)),
200
+ pickup_deliveries: OptionType(ArrayType(RoutingPickupDeliveryType)),
201
+ });
202
+ /** Routing solver configuration. */
203
+ export const RoutingConfigType = StructType({
204
+ first_solution: OptionType(RoutingFirstSolutionType),
205
+ metaheuristic: OptionType(RoutingMetaheuristicType),
206
+ max_time_seconds: OptionType(FloatType),
207
+ });
208
+ /** A single vehicle route in the solution. */
209
+ export const RoutingRouteType = StructType({
210
+ vehicle: IntegerType,
211
+ nodes: ArrayType(IntegerType),
212
+ distance: IntegerType,
213
+ });
214
+ /** Vehicle routing result. */
215
+ export const RoutingResultType = StructType({
216
+ status: GoogleOrStatusType,
217
+ total_distance: IntegerType,
218
+ routes: ArrayType(RoutingRouteType),
219
+ wall_time: FloatType,
220
+ });
221
+ // ============================================================================
222
+ // Linear Programming Types
223
+ // ============================================================================
224
+ /** LP/MIP variable definition. */
225
+ export const LinearVarType = StructType({
226
+ name: StringType,
227
+ lower_bound: FloatType,
228
+ upper_bound: FloatType,
229
+ is_integer: BooleanType,
230
+ });
231
+ /** A term in a linear expression: coeff * var. */
232
+ export const LinearTermType = StructType({
233
+ var: StringType,
234
+ coeff: FloatType,
235
+ });
236
+ /** Linear constraint: lower_bound <= sum(terms) <= upper_bound. */
237
+ export const LinearConstraintDefType = StructType({
238
+ terms: ArrayType(LinearTermType),
239
+ lower_bound: FloatType,
240
+ upper_bound: FloatType,
241
+ });
242
+ /** Linear objective function. */
243
+ export const LinearObjectiveType = StructType({
244
+ terms: ArrayType(LinearTermType),
245
+ maximize: BooleanType,
246
+ });
247
+ /** Linear programming model. */
248
+ export const LinearModelType = StructType({
249
+ variables: ArrayType(LinearVarType),
250
+ constraints: ArrayType(LinearConstraintDefType),
251
+ objective: LinearObjectiveType,
252
+ });
253
+ /** LP solver backend. */
254
+ export const LinearSolverType = VariantType({
255
+ glop: NullType,
256
+ scip: NullType,
257
+ highs: NullType,
258
+ });
259
+ /** LP solver configuration. */
260
+ export const LinearConfigType = StructType({
261
+ solver: OptionType(LinearSolverType),
262
+ max_time_seconds: OptionType(FloatType),
263
+ });
264
+ /** LP/MIP result. */
265
+ export const LinearResultType = StructType({
266
+ status: GoogleOrStatusType,
267
+ objective_value: OptionType(FloatType),
268
+ assignments: DictType(StringType, FloatType),
269
+ wall_time: FloatType,
270
+ });
271
+ // ============================================================================
272
+ // Graph Algorithm Types
273
+ // ============================================================================
274
+ /** Min-cost flow network input. */
275
+ export const MinCostFlowInputType = StructType({
276
+ start_nodes: ArrayType(IntegerType),
277
+ end_nodes: ArrayType(IntegerType),
278
+ capacities: ArrayType(IntegerType),
279
+ unit_costs: ArrayType(IntegerType),
280
+ supplies: ArrayType(IntegerType),
281
+ });
282
+ /** Min-cost flow result. */
283
+ export const MinCostFlowResultType = StructType({
284
+ status: GoogleOrStatusType,
285
+ total_cost: IntegerType,
286
+ flows: ArrayType(IntegerType),
287
+ wall_time: FloatType,
288
+ });
289
+ /** Max-flow network input. */
290
+ export const MaxFlowInputType = StructType({
291
+ start_nodes: ArrayType(IntegerType),
292
+ end_nodes: ArrayType(IntegerType),
293
+ capacities: ArrayType(IntegerType),
294
+ source: IntegerType,
295
+ sink: IntegerType,
296
+ });
297
+ /** Max-flow result. */
298
+ export const MaxFlowResultType = StructType({
299
+ status: GoogleOrStatusType,
300
+ total_flow: IntegerType,
301
+ flows: ArrayType(IntegerType),
302
+ wall_time: FloatType,
303
+ });
304
+ /** Linear sum assignment cost matrix. */
305
+ export const AssignmentInputType = StructType({
306
+ costs: ArrayType(ArrayType(IntegerType)),
307
+ });
308
+ /** A single worker-task assignment. */
309
+ export const AssignmentMatchType = StructType({
310
+ worker: IntegerType,
311
+ task: IntegerType,
312
+ cost: IntegerType,
313
+ });
314
+ /** Assignment result. */
315
+ export const AssignmentResultType = StructType({
316
+ status: GoogleOrStatusType,
317
+ total_cost: IntegerType,
318
+ assignments: ArrayType(AssignmentMatchType),
319
+ wall_time: FloatType,
320
+ });
321
+ // ============================================================================
322
+ // Platform Functions
323
+ // ============================================================================
324
+ /** Solve a CP-SAT model and return the best solution. */
325
+ export const google_or_cpsat_solve = East.platform("google_or_cpsat_solve", [CpSatModelType, CpSatConfigType], CpSatResultType);
326
+ /** Solve a CP-SAT model and return all feasible solutions found. */
327
+ export const google_or_cpsat_solve_all = East.platform("google_or_cpsat_solve_all", [CpSatModelType, CpSatConfigType], ArrayType(CpSatResultType));
328
+ /** Solve a vehicle routing problem. */
329
+ export const google_or_routing_solve = East.platform("google_or_routing_solve", [RoutingModelType, RoutingConfigType], RoutingResultType);
330
+ /** Solve a linear programming / MIP problem. */
331
+ export const google_or_linear_solve = East.platform("google_or_linear_solve", [LinearModelType, LinearConfigType], LinearResultType);
332
+ /** Solve a min-cost flow problem. */
333
+ export const google_or_min_cost_flow = East.platform("google_or_min_cost_flow", [MinCostFlowInputType], MinCostFlowResultType);
334
+ /** Solve a max-flow problem. */
335
+ export const google_or_max_flow = East.platform("google_or_max_flow", [MaxFlowInputType], MaxFlowResultType);
336
+ /** Solve a linear sum assignment problem. */
337
+ export const google_or_assignment = East.platform("google_or_assignment", [AssignmentInputType], AssignmentResultType);
338
+ // ============================================================================
339
+ // Grouped Exports
340
+ // ============================================================================
341
+ /** Type definitions for Google OR-Tools. */
342
+ export const GoogleOrTypes = {
343
+ // Shared
344
+ StatusType: GoogleOrStatusType,
345
+ // CP-SAT
346
+ CpSatIntVarType,
347
+ CpSatBoolVarType,
348
+ CpSatIntervalVarType,
349
+ CpSatLinearTermType,
350
+ CpSatLinearExprType,
351
+ CpSatLiteralType,
352
+ CpSatComparisonType,
353
+ CpSatConstraintType,
354
+ CpSatObjectiveType,
355
+ CpSatModelType,
356
+ CpSatConfigType,
357
+ CpSatResultType,
358
+ // Routing
359
+ RoutingFirstSolutionType,
360
+ RoutingMetaheuristicType,
361
+ RoutingTimeWindowType,
362
+ RoutingPickupDeliveryType,
363
+ RoutingModelType,
364
+ RoutingConfigType,
365
+ RoutingRouteType,
366
+ RoutingResultType,
367
+ // Linear
368
+ LinearVarType,
369
+ LinearTermType,
370
+ LinearConstraintDefType,
371
+ LinearObjectiveType,
372
+ LinearModelType,
373
+ LinearSolverType,
374
+ LinearConfigType,
375
+ LinearResultType,
376
+ // Graph
377
+ MinCostFlowInputType,
378
+ MinCostFlowResultType,
379
+ MaxFlowInputType,
380
+ MaxFlowResultType,
381
+ AssignmentInputType,
382
+ AssignmentMatchType,
383
+ AssignmentResultType,
384
+ };
385
+ /**
386
+ * Google OR-Tools optimization.
387
+ *
388
+ * Provides:
389
+ * - CP-SAT: Constraint programming with SAT-based solving
390
+ * - Routing: Vehicle routing (TSP, CVRP, VRPTW, VRPPD)
391
+ * - Linear: Linear programming and mixed-integer programming
392
+ * - Graph: Min-cost flow, max flow, linear sum assignment
393
+ */
394
+ export const GoogleOr = {
395
+ /**
396
+ * Solve a CP-SAT model and return the best solution.
397
+ *
398
+ * @example
399
+ * ```ts
400
+ * import { East, variant } from "@elaraai/east";
401
+ * import { GoogleOr, CpSatModelType, CpSatConfigType } from "@elaraai/east-py-datascience";
402
+ *
403
+ * const solve = East.function(
404
+ * [CpSatModelType],
405
+ * GoogleOr.Types.CpSatResultType,
406
+ * ($, model) => {
407
+ * const config = $.let({
408
+ * max_time_seconds: variant("some", 10.0),
409
+ * num_workers: variant("none", null),
410
+ * log_search_progress: variant("none", null),
411
+ * seed: variant("none", null),
412
+ * max_solutions: variant("none", null),
413
+ * }, CpSatConfigType);
414
+ * return $.return(GoogleOr.cpsatSolve(model, config));
415
+ * }
416
+ * );
417
+ * ```
418
+ */
419
+ cpsatSolve: google_or_cpsat_solve,
420
+ /**
421
+ * Solve a CP-SAT model and return all feasible solutions found.
422
+ *
423
+ * @example
424
+ * ```ts
425
+ * import { East, ArrayType, variant } from "@elaraai/east";
426
+ * import { GoogleOr, CpSatModelType, CpSatConfigType } from "@elaraai/east-py-datascience";
427
+ *
428
+ * const solveAll = East.function(
429
+ * [CpSatModelType],
430
+ * ArrayType(GoogleOr.Types.CpSatResultType),
431
+ * ($, model) => {
432
+ * const config = $.let({
433
+ * max_time_seconds: variant("some", 10.0),
434
+ * num_workers: variant("none", null),
435
+ * log_search_progress: variant("none", null),
436
+ * seed: variant("none", null),
437
+ * max_solutions: variant("some", 100n),
438
+ * }, CpSatConfigType);
439
+ * return $.return(GoogleOr.cpsatSolveAll(model, config));
440
+ * }
441
+ * );
442
+ * ```
443
+ */
444
+ cpsatSolveAll: google_or_cpsat_solve_all,
445
+ /**
446
+ * Solve a vehicle routing problem.
447
+ *
448
+ * @example
449
+ * ```ts
450
+ * import { East, variant } from "@elaraai/east";
451
+ * import { GoogleOr, RoutingModelType, RoutingConfigType } from "@elaraai/east-py-datascience";
452
+ *
453
+ * const solve = East.function(
454
+ * [RoutingModelType],
455
+ * GoogleOr.Types.RoutingResultType,
456
+ * ($, model) => {
457
+ * const config = $.let({
458
+ * first_solution: variant("some", variant("path_cheapest_arc", null)),
459
+ * metaheuristic: variant("some", variant("guided_local_search", null)),
460
+ * max_time_seconds: variant("some", 30.0),
461
+ * }, RoutingConfigType);
462
+ * return $.return(GoogleOr.routingSolve(model, config));
463
+ * }
464
+ * );
465
+ * ```
466
+ */
467
+ routingSolve: google_or_routing_solve,
468
+ /**
469
+ * Solve a linear programming / MIP problem.
470
+ *
471
+ * @example
472
+ * ```ts
473
+ * import { East, variant } from "@elaraai/east";
474
+ * import { GoogleOr, LinearModelType, LinearConfigType } from "@elaraai/east-py-datascience";
475
+ *
476
+ * const solve = East.function(
477
+ * [LinearModelType],
478
+ * GoogleOr.Types.LinearResultType,
479
+ * ($, model) => {
480
+ * const config = $.let({
481
+ * solver: variant("some", variant("highs", null)),
482
+ * max_time_seconds: variant("some", 60.0),
483
+ * }, LinearConfigType);
484
+ * return $.return(GoogleOr.linearSolve(model, config));
485
+ * }
486
+ * );
487
+ * ```
488
+ */
489
+ linearSolve: google_or_linear_solve,
490
+ /**
491
+ * Solve a min-cost flow problem.
492
+ *
493
+ * @example
494
+ * ```ts
495
+ * import { East } from "@elaraai/east";
496
+ * import { GoogleOr, MinCostFlowInputType } from "@elaraai/east-py-datascience";
497
+ *
498
+ * const solve = East.function(
499
+ * [MinCostFlowInputType],
500
+ * GoogleOr.Types.MinCostFlowResultType,
501
+ * ($, input) => {
502
+ * return $.return(GoogleOr.minCostFlow(input));
503
+ * }
504
+ * );
505
+ * ```
506
+ */
507
+ minCostFlow: google_or_min_cost_flow,
508
+ /**
509
+ * Solve a max-flow problem.
510
+ *
511
+ * @example
512
+ * ```ts
513
+ * import { East } from "@elaraai/east";
514
+ * import { GoogleOr, MaxFlowInputType } from "@elaraai/east-py-datascience";
515
+ *
516
+ * const solve = East.function(
517
+ * [MaxFlowInputType],
518
+ * GoogleOr.Types.MaxFlowResultType,
519
+ * ($, input) => {
520
+ * return $.return(GoogleOr.maxFlow(input));
521
+ * }
522
+ * );
523
+ * ```
524
+ */
525
+ maxFlow: google_or_max_flow,
526
+ /**
527
+ * Solve a linear sum assignment problem.
528
+ *
529
+ * @example
530
+ * ```ts
531
+ * import { East } from "@elaraai/east";
532
+ * import { GoogleOr, AssignmentInputType } from "@elaraai/east-py-datascience";
533
+ *
534
+ * const solve = East.function(
535
+ * [AssignmentInputType],
536
+ * GoogleOr.Types.AssignmentResultType,
537
+ * ($, input) => {
538
+ * return $.return(GoogleOr.assignment(input));
539
+ * }
540
+ * );
541
+ * ```
542
+ */
543
+ assignment: google_or_assignment,
544
+ /** Type definitions. */
545
+ Types: GoogleOrTypes,
546
+ };
547
+ //# sourceMappingURL=google_or.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google_or.js","sourceRoot":"","sources":["../../../src/google_or/google_or.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAE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