Commit a230e119 authored by webmanue's avatar webmanue Committed by Manuel Weberndorfer
Browse files

add new TAO solver types to enumeration

parent 67874300
......@@ -72,6 +72,7 @@ public:
gpcg,
nm,
pounders,
brgn,
lcl,
ssils,
ssfls,
......@@ -79,6 +80,9 @@ public:
asfls,
ipm,
pdipm,
shell,
admm,
almm,
};
/**
......@@ -315,8 +319,8 @@ template <class Policy> void TAOSolver<Policy>::setType(const Type type) {
taoType = TAOPOUNDERS;
break;
}
case Type::pdipm: {
taoType = TAOPDIPM;
case Type::brgn: {
taoType = TAOBRGN;
break;
}
case Type::lcl: {
......@@ -343,6 +347,22 @@ template <class Policy> void TAOSolver<Policy>::setType(const Type type) {
taoType = TAOIPM;
break;
}
case Type::pdipm: {
taoType = TAOPDIPM;
break;
}
case Type::shell: {
taoType = TAOSHELL;
break;
}
case Type::admm: {
taoType = TAOADMM;
break;
}
case Type::almm: {
taoType = TAOALMM;
break;
}
}
Policy::handleError(TaoSetType(_tao.get(), taoType));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment