File tree 1 file changed +19
-3
lines changed
1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -404,11 +404,15 @@ function MOI.get(
404
404
end
405
405
406
406
function MOI. supports (
407
- :: DualOptimizer ,
408
- :: Union{ MOI.ConstraintDualStart,MOI.ConstraintPrimalStart} ,
407
+ optimizer :: DualOptimizer ,
408
+ attr :: MOI.ConstraintDualStart ,
409
409
:: Type{<:MOI.ConstraintIndex} ,
410
410
)
411
- return true
411
+ return MOI. supports (
412
+ optimizer. dual_problem. dual_model,
413
+ _variable_dual_attribute (attr),
414
+ MOI. VariableIndex,
415
+ )
412
416
end
413
417
414
418
function MOI. set (
@@ -504,6 +508,18 @@ function MOI.get(
504
508
end
505
509
end
506
510
511
+ function MOI. supports (
512
+ :: DualOptimizer ,
513
+ attr:: MOI.ConstraintPrimalStart ,
514
+ C:: Type{<:MOI.ConstraintIndex} ,
515
+ )
516
+ return MOI. supports (
517
+ optimizer. dual_problem. dual_model,
518
+ _dual_attribute (attr),
519
+ C,
520
+ )
521
+ end
522
+
507
523
function MOI. set (
508
524
optimizer:: DualOptimizer ,
509
525
attr:: MOI.ConstraintPrimalStart ,
You can’t perform that action at this time.
0 commit comments