In MathOptInterface (MOI) syntax I get the basis status of a variable x attached to a model via
MOI.get(model, MOI.VariableBasisStatus(), x)
This status should correspond to the xxstatus in the MosekSolution structure.
Unfortunately, the MOI.VariableBasisStatus() is currently not supported. My current workaround is to read
model.moi_backend.optimizer.model.solutions[end].xxstatus
which is obviously inconvenient.
If it is to much work to implement, is there a better workaround?