ContentslistsavailableatSciVerseScienceDirect
Journal
of
Computational
Science
jo u r n al hom ep a g e :w w w . e l s e v i e r . c o m / l o c a t e / j o c s
A
decomposition
approach
for
a
new
test-scenario
in
complex
problem
solving
Michael
Engelhart
a,∗, Joachim
Funke
b,
Sebastian
Sager
caInterdisciplinaryCenterforScientificComputing(IWR),HeidelbergUniversity,ImNeuenheimerFeld368,69120Heidelberg,Germany
bDepartmentofPsychology,HeidelbergUniversity,Hauptstr.47–51,69117Heidelberg,Germany
cInstituteofMathematicalOptimization,Otto-von-GuerickeUniversitätMagdeburg,Universitätsplatz2,39106Magdeburg,Germany
a
r
t
i
c
l
e
i
n
f
o
Articlehistory:
Received22January2012
Receivedinrevisedform9May2012 Accepted11June2012
Availableonlinexxx
MSC:
90C30 90C11 90C90 90C59
Keywords:
Mixed-integernonlinearprogramming Complexproblemsolving
Decompositionapproach
a
b
s
t
r
a
c
t
Overthelastyears,psychologicalresearchhasincreasinglyusedcomputer-supportedtests,especiallyin theanalysisofcomplexhumandecisionmakingandproblemsolving.Theapproachistouse computer-basedtestscenariosandtoevaluatetheperformanceofparticipantsandcorrelateittocertainattributes, suchastheparticipant’scapacitytoregulateemotions.However,twoimportantquestionscanonlybe answeredwiththehelpofmodernoptimizationmethodology.Thefirstoneconsidersananalysisofthe exactsituationsanddecisionsthatledtoabadorgoodoverallperformanceoftestpersons.Thesecond importantquestionconcernsperformance,asthechoicesmadebyhumanscanonlybecomparedtoone another,butnottotheoptimalsolution,asitisunknowningeneral.
Additionally,thesetest-scenarioshaveusuallybeendefinedonatrial-and-errorbasis,untilcertain characteristicsbecameapparent.Themorecomplexmodelsbecome,themorelikelyitisthatunforeseen andunwantedcharacteristicsemergeinstudies.Toovercomethisimportantproblem,weproposetouse mathematicaloptimizationmethodologynotonlyasananalysisandtrainingtool,butalsointhedesign stageofthecomplexproblemscenario.
Wepresentanoveltestscenario,theIWRTailorshop,withfunctionalrelationsandmodelparameters thathavebeenformulatedbasedonoptimizationresults.Wealsopresentatailoreddecomposition approachtosolvetheresultingmixed-integernonlinearprogramswithnonconvexrelaxationsandshow somepromisingresultsofthisapproach.
©2012ElsevierB.V.Allrightsreserved.
1. Introduction
Modernlifeimposesdailydecisionmaking,oftenwith impor-tantconsequences.Illustrativeexamplesare,e.g.,politicianswho decideonactionstoovercomeafinancialcrisis,medicaldoctors whodecideoncomplementarychemotherapydrugdelivery strate-gies,orentrepreneurswhodecideonlong-termpricingstrategies fortheproductstheyoffer.
Theprocessofhumandecisionmakinginsuchtasksisthe sub-jectofresearchinthefieldofcomplexproblemsolving(CPS).CPS isdefinedasahigh-ordercognitiveprocess.Inresearch,the per-formanceofparticipantsinclearlydefinedmicroworlds(ortasks)is investigated.Theparticipant’sperformanceisevaluatedand cor-relatedtocertainattributes,suchastheparticipant’scapacityto regulateemotions.
∗Correspondingauthor.
E-mailaddress:[email protected](M.Engelhart).
URL:http://www.mathopt.de(M.Engelhart).
Onemicroworldthatcomprisesavarietyofpropertiessuchas dynamics,complexityandinterdependence,discretechoices,lack oftransparency,andpolytelyinaneconomicalframingisthe Tai-lorshop.Participantshavetomakeeconomicdecisionstomaximize theoverall balanceofa small company,specializedin the pro-ductionandsalesofshirts.TheTailorshopissometimesreferred toasthe“Drosophila”forCPSresearchers[1]andthusa promi-nentexampleforacomputer-basedmicroworld.Ithasbeenused inalargenumberofstudies,e.g.,[2–7].Comprehensivereviewson studieswithTailorshophavebeenpublished,e.g.,[1,8–10].
Thecalculationofindicatorfunctionstomeasureperformance ofCPSparticipantsisbynomeanstrivial.Tomeasureperformance within the Tailorshop microworld, different indicator functions havebeenproposedintheliterature,see[11]forarecentreview. In[12,13]thequestionhowtogetareliableperformance indica-torfortheTailorshopmicroworldhasbeenaddressed.Becauseall previouslyusedindicatorshaveunknownreliabilityandvalidity, decisionsarecomparedtomathematicallyoptimalsolutions.For thefirsttimeacomplexmicroworldsuchasTailorshophasbeen describedintermsofamathematicalmodel.
s.t. xk+1=G(xk,uk,p,), k=ns...N−1
uk,i∈˝i, k=ns...N−1
i=1...n˝
0≤H(xk,uk,p), k=ns...N
xns =xnps
(1)
fordifferentstarttimes0≤ns<Noftheoptimizationandwhere
F,G,andHarenonlinearfunctionals,isarandomvariable,and
˝iare,possiblydiscrete,feasiblesets.Statevariablesaredenoted
byxk,scenarioparametersbyp,anddecisionstobetakenbythe
participantsattimekbyuk.Wedefine
(xp,up)=(xp0,... ,x p
N,u
p 0,...,u
p
N−1) (2)
tobethevectorofdecisionsandstatevariablesforallmonthsofa participant.Certainentriesxpnsenter(1)asfixedinitialvalues. Par-ticipantindependentinitialvaluesxp0=x0arefixedandpartofthe CPSmicroworlddefinition.Themodelisdynamicwithadiscrete timek=0...N,andNthenumberofturns.
Basedon(1),anoptimizationcanbeperformedforeveryturnns oftheparticipant’sdata,startingwithexactlythesameconditions
xpns astheparticipant.Theresultcanbeusedindifferentwaysto copewithquestionslikehowtomeasureperformanceincomplex environmentsinanobjectivewayandhowtodeterminedecisions whichwerecriticalfortheoverallperformanceofaparticipant. Thistechniqueisdescribedindetailin[13].
Thus,theassumptionthatthe“fruitflyofcomplexproblem solv-ing”isnotmathematicallyaccessiblehasbeendisproven.However, solving(1)toprovenglobaloptimalityisalreadyachallengingtask. Thenovelmethodologicalapproachhasalsobeencombinedwith experimentalstudies[6,7,13].
Sofar,allCPSmicroworldshavebeendevelopedinapurely dis-ciplinarytrial-and-errorapproach.Toourknowledge,asystematic developmentofCPSmicroworldsbasedonamathematicalmodel, sensitivityanalysis,andeventuallyoptimizationmethodstochoose parametersthatleadtoawantedbehaviorofthecomplexsystem forallpossibletrajectorieshasnotyetbeenapplied.Asanexample fortheneedtodothis,themathematicalmodelingoftheTailorshop microworldin[13]ledtothediscoveryofaprioriunwantedand unrealisticwinningstrategies(e.g.,thevansbug).
Therefore,inthisarticlewepresentanewmicro-worldbasedon theTailorshop,forwhichoptimizationmethodshavebeen consid-eredalreadythroughoutthemodelingphase,theIWRTailorshop.To overcomethedifficultiesofcomputinggloballyoptimalsolutions forthistest-scenario, whichstill yieldsnonconvexoptimization problems,wedevelopedadecompositionapproachtailoredtothe IWRTailorshop.
Mathematicalmodelreductiontechniquesarequitecommonin otherdomains,seee.g.,[14–16]foranoverview.Thebasicideaof ournewapproachtosolveproblem(1)consistsofadecomposition oftheMINLPintoamasterandseveralsmallersubproblems.This worksiftheobjectivefunctionisseparable.Theideaisrelatedto Lagrangianrelaxation,oneofthemostusedrelaxationstrategiesfor MILPs.Itsfirstapplicationwastheone-treerelaxationofthe travel-ingsalesmanprobleminthefamousHeld-Karpalgorithmin[17,18]. Thetraditionalapplicationfieldsarevariantsoftheknapsack prob-lemlike,e.g.,facilitylocationandcapacityplanning[19],general assignment,networkflowandtheunitcommitmentproblem[20].
themaximum.Hencethementionedtechniquescannotbeapplied inastraightforwardway.
Thearticleisorganizedasfollows.InSection2,theIWR Tailor-shopisintroduced.Thenthetailoreddecompositionapproachis explainedinSection3.Weshowsomepromisingnumericalresults ofthedecompositionappliedtotheIWRTailorshopinSection4and concludewithanoutlookinSection5.
2. TheIWRTailorshop-model
Based on the experience with the original Tailorshop -microworlddescribedin[13] withmodelingoddities,bugs,and otherundesirableproperties,wedecidedtocontinueourworkwith amathematicalmodeldevelopedfromscratch.
We systematically build a new microworld with desirable (mathematical)propertiesbasedontheeconomicalframingof Tai-lorshop.Theseeffortsleadtothenewtest-scenarioIWRTailorshop. Aschematicrepresentationofthisnewmicroworldcanbefoundin Fig.1.Table1listsallstatesandcontrolstheIWRTailorshopcontains togetherwithcorrespondingunits.
ComparedtotheTailorshop,thevarietyofvariableshasbeen shiftedtowardsamoreabstractlevel.Forexample,theparticipants havenolongerthetasktobuyorsellmachines,butinsteadhaveto takecareofthenumberofproductionsitesxPSoftheircompany.The
ratherconcretevariablevanshasbeenreplacedbymoreabstract distributionsitesxDS,andsoon.WechosetosetupIWRTailorshopon
suchanabstractlevel,becausethisyieldsamorerealisticposition ofadecisionmakerfortheparticipants.Forthemajorityof com-panies,itseemsunlikelythattheonewhodecidesonthenumber ofemployees,theshirtprice,andtheamountofmoneyspentfor advertisingisthesamewhohastoensurethatenoughrawmaterial isboughttoproducetheshirts.
Themathematical representation of theIWR Tailorshop con-sistsofthefollowingsetofequationsfork=ns...N,whichwill beexplainedbelow.Remember,thatxkdenotestatevariables,uk
denotecontrolvariables(decisionvariables)andparefixed param-eters.
xEM
k+1=xEMk −udEMk +uDEMk (3a)
xPSk+1=xPSk −udPSk +uDPSk (3b)
xDS
k+1=xDSk −udDSk +uDDSk (3c)
xDE
k+1 =pDE,
0·exp(−pDE,1·uSP k )
·log(pDE,2·uAD
k +1)·(xREk +pDE,3)
(3d)
xRE
k+1 =pRE, 0·xRE
k +pRE,
1log((pRE,2·uAD k
+pRE,3·uSP k ·(x
SQ k )
2
+pRE,4·uWA k )+1)
(3e)
xPR
k+1 =pPR, 0·xPS
k+1
·log
pPR,1·xEM k+1
xPS
k+1+xDSk+1+pPR,2
+1
Fig.1. SchematicrepresentationoftheIWRTailorshopmicroworld.Arrowsshowdependencies,thesymbols(+and−)showproportionalandreciprocalinfluencesrespectively. Diamondsindicatetheinfluenceofparticipants’decisions.
xSA
k+1 =min{pSA, 0·xDS
k+1
·log( p
SA,1·xEM k+1
xPS
k+1+xkDS+1+pSA,2
+1);
xSHk +xPRk+1;pSA,3·xDEk+1}
(3g)
xSH
k+1=xSHk −xkSA+1+xPRk+1 (3h)
xSQk+1=pSQ,0·xMO
k +pSQ,1·xkMQ+pSQ,
2·uRQ
k (3i)
xMQk+1 =x
MQ
k ·pMQ,0·exp
−pMQ,1 x
PR k
xPS k +pMQ,2
+pMQ,3·log(uMA
k ·pMQ,4+1)
(3j)
xMO
k+1 =(1−pMO, 0)·xMO
k +pMO,
0
·log (pMO,1·uDEM k +pMO,
2·uDPS k
+pMO,3·uDDS k +pMO,
4·uWA k
+pMO,5·xRE
k +pMO,6)
·exp (−(pMO,7·udEM k +pMO,
8·udPS k
+pMO,9·udDS
k )+pMO,10)·pMO,11
(3k)
xCA
k+1 =pCA, 0·(xCA
k +(xSAk+1·uSPk )+(udPSk ·pCA,
1)
+(udDS k ·pCA,
2)−(xEM k+1·uWAk )
−(xPR k+1·u
RQ
k ·pCA,3)−(xPSk ·pCA,4)
−(xkDS·pCA,5)−uMA k −uADk
−(xSH k+1·pCA,
6)−(uDPS·pCA,7)
−(uDDS·pCA,8))
(3l)
Apartoftheseequations,(3a)and(3b),consistofasimplelinear transitionfrommonthktomonthk+1.Theamountofsitescreated
Table1
StatesandcontrolswithcorrespondingunitsintheIWRTailorshop.M.U.meansmonetaryunits.
States Variable Unit Controls Variable Unit
Employees xEM Person(s) Shirtprice uSP M.U./shirt
Productionsites xPS Site(s) Advertising uAD M.U.
Distributionsites xDS Site(s) Wages uWA M.U./person
Shirtsinstock xSH Shirt(s) Maintenance uMA M.U.
Production xPR Shirt(s) Resourcesquality uRQ –
Sales xSA Shirt(s) Recruit/dismissemployees udEM/uDEM Person(s)
Demand xDE Shirt(s) Create/closeproductionsite udPS/uDPS Site(s)
Reputation xRE – Create/closedistributionsite udDS/uDDS site(s)
Shirtsquality xSQ –
Machinequality xMQ –
Motivationofemployees xMO –
ThedemandEq.(3d)ismorecomplicatedandcontains three factors.First,thereisanexponentialdecreasewiththeshirtprice, followedbyalogarithm,whichdampstheinfluenceofadvertising. Finally,thesetermsaremultipliedbythereputationandacertain offset.Demandherereferstothedemandatthissinglecompany, notonthewholemarket.
InEq.(3e),determiningthereputation,thereisamemoryterm consistingofafractionofthecurrentreputation.Additionally,there isalogarithmtodampentheeffectsofadvertising,levelofwages, andtheproductvalue– aproductofshirtpriceandshirtqualityto thepoweroftwo.
Theproduction Eq. (3f)consistsof a log-term, which damps theefficiencyofworkerspersite.Theassumptionis,thatallthe employeesare distributed equallyover thesumof distribution andproductionsites.Themoreemployeespersitethereare,the lessproductivityisyieldedbyonemoreemployee,e.g.,because ofthelimitationofspaceormachines.Thistermismultipliedby thenumberofproductionsitesincompensationofthe denomina-torinthelogarithm.ThesalesEq.(3g)isanalogtotheproduction equation,butwithadistributionsitesfactorinsteadofproduction sites.Additionally,salesarelimitedbythenumberofshirts avail-able,i.e.,thesumofshirtsinstockandshirtsproduced,andbythe demand.Thisleadstothemin-expressionwiththreecomponents. Note,however,thatthisexpressioncaneasilybetransformedinto inequalitiesbyintroducingaslack-variable,whichislimitedbyall componentsoftheminimum.Thisworks,becausethesalesonly haveapositiveeffectintheobjectivefunction.
Machinequality, seeEq.(3j),decreaseswiththeload, repre-sentedby shirtsproduced per production site. Maintenance,on theotherhand,increasesmachinequality,dampedbyalogarithm again.
ThemotivationEq.(3k)isaconvexcombinationofoldandnew motivationlevels.Thelevelisdeterminedbyalogarithmcontaining positiveeffects(recruitingemployees,creatingproductionand dis-tributionsites,wages,andreputation)andanegativeexponential, wherenegativefactorsenter(dismissalofemployeesandclosing productionanddistributionsites).
ThelastEq.(3l),thecapital,isacompositionofallexpensesand incomesgivenimplicitlybytheotherequations:revenuepershirt, revenueperproductionanddistributionsitesold(closed),wages peremployee,productioncostsdependingontheresourcequality, fixedcostsforproductionanddistributionsites,maintenanceand advertisingexpenses,storagecosts,andpurchasepricefor produc-tionanddistributionsites.Thecapitalissubjecttoacertaininterest ratepCA,0.
IWRTailorshopcontainsinequalities.Thereisamaximum stor-agecapacityforshirtsperdistributionsite,
xSH
k ≤pSH,0·xDSk (4)
Recruitmentdependsonaccesstodifferentjobmarketsyieldedby thenumberofsitesandislimited,
uDEMk ≤pDEM,0·xkPS+pDEM,1·xkDS (5) Theoverallnumberofsitesislimited,
xPS
k +xDSk ≤ptS (6)
udEM
k ≤pdEM (8a)
uDPSk ≤pDPS (8b)
uDDSk ≤pDDS (8c)
udDSk ≤pdDS (8d) Furthermore,someofthecontrolshavetobeinteger,
uDEMk ,udEMk ,uDPSk ,ukdPS,uDDSk ,udDSk ∈Z+0 (9) andresourcequalitymustbechosenfromafiniteset:
uRQk ∈{pRQ,1,...,pRQ,nRQ} (10) ComparedtoEq.(1),theseequationsandinequalitiestogether withthereformulationofthesalesequationformthefunctionsG andH.FortheobjectivefunctionF,onecouldeasilythinkof dif-ferentoptions,e.g.,aweightedcombinationofmaximizingprofit, reputation,andsomeotherfactors.Wedecidedtousetheprofit attheend ofthediscretetime-scalein thisarticlefor thesake ofcomparabilitytotheoriginalTailorshop.Hence,wesuggestthe followingobjective:
max
x,u,p x CA
N (11)
Ofcourse,thesetofparametershasasignificantinfluenceon themodelbehavior.Onecoulddefinitelydedicateawholearticle onhowtodetermineanappropriateparametersetforamicroworld likeIWRTailorshop,dependingontheaims–seealsoSection5for futureworkregardingthisissue.Forthisarticle,however,weset upaparametersetmanuallysuchthat themodel fulfillsa cer-taindesiredbehavior.Thechosenparametersalsoyieldamodel behaviorthatmakessensefortheoptimization,i.e.thereare feasi-blesolutionsandtheoptimizationproblemisnotunbounded.The parametervaluesarelistedinTables2and3.
AllthesecomponentsbuildtheIWRTailorshop,which–from amathematicalpointofview–isamixed-integernonlinear pro-gramwithnonconvexrelaxation,i.e.ifthepossiblydiscrete˝iinthe
dMIOCP(1)arereplacedbysomecontinuous ˆ˝i⊇˝i,thisyields
anonconvexnonlinearprogram.Theimplementationofthisnew modelfeaturesaweb-basedinterfaceandusesthewidelyspread AMPLinterface[24],whichallows,e.g.,theuseofavarietyof pow-erfuloptimizationalgorithms.
Table2
ParametersetforstatesusedwithIWRTailorshopinthisarticle.M.U.means mone-taryunits.
Parameter Value
pSH,0 2000shirts/site
pDE,0 600.0shirts
pDE,1 2×10−2shirts/M.U.
pDE,2 2×10−21/M.U.
pDE,3 0.5
pRE,0 0.5
pRE,1 1.0
pRE,2 2.5×10−51/M.U.
pRE,3 10−4shirts/M.U.
pRE,4 6×10−5persons/M.U.
pPR,0 99.9shirts/sites
pPR,1 2.0sites/persons
pPR,2 10−6sites
pSA,0 99.9shirts/sites
pSA,1 2.0sites/persons
pSA,2 10−6sites
pSA,3 1.0
pSQ,0 0.2
pSQ,1 0.3
pSQ,2 0.5
pMQ,0 0.8
pMQ,1 0.6×10−2sites/shirts
pMQ,2 10−6sites
pMQ,3 0.13
pMQ,4 0.2M.U.−1
pMO,0 0.5
pMO,1 4×10−2persons−1
pMO,2 0.5sites−1
pMO,3 0.25sites−1
pMO,4 2.0×10−4persons/M.U.
pMO,5 0.3
pMO,6 1.0
pMO,7 0.7persons−1
pMO,8 2.5sites−1
pMO,9 2.0sites−1
pMO,10 1.0
pMO,11 0.5
pCA,0 1.03
pCA,1 5000M.U./site
pCA,2 3500M.U./site
pCA,3 5.0M.U./shirt
pCA,4 1000M.U./site
pCA,5 700M.U./site
pCA,6 1.5M.U./shirt
pCA,7 10,000M.U./site
pCA,8 7000M.U./site
3. Atailoreddecompositionapproach
Nowthatwehaveasystematicallybuiltmicroworldwith desir-ableproperties,wecouldstartdoingstudieswithitandevaluating participants’performancebasedonoptimalsolutionsasexplained
Table3
ParametersetforcontrolsusedwithIWRTailorshopinthisarticle.
Parameter Value
nRQ 4
pRQ,1 0.25
pRQ,2 0.5
pRQ,3 0.75
pRQ,4 1.0
pDEM,0 5persons/site
pDEM,1 10persons/site
pdEM 10persons
pDPS 1site
pdPS 1site
pDDS 2sites
pdDS 1site
ptS 6sites
max f(x) master problem
min c1(x)
decoupled problems
min c2(x)
costs costs
input
variables variablesinput
Fig.2.Schematicrepresentationofthetailoreddecompositionapproach.
aboveand in [13].The computationof anindicatorfunctionas describedin[13],however,canonlybeclaimedreasonablytobe objective,ifwecanfindguaranteedgloballyoptimalsolutions.But –asalreadymentionedabove–theIWRTailorshopyieldsa non-convexproblem.Thispropertyisunavoidableaslongasweare interested in turn-based scenarios with nonlinear model equa-tions. Hence,itis difficulttocomputeglobalsolutionsfor such test-scenarios.
Andindeed,thecomputationtimeswithCouenne0.4onaIntel Corei7machinewith12GBRAMlookbad:forN=1ittakeslessthan 1s,forN=2already3s,andforN=3byfarmorethan10min(see alsoTable6).ForhighervaluesofN,wecannothopeforasolution atallbeforethemachinerunsoutofmemory.
The idea of the decomposition approach is now, to exploit thestructureoftheproblem–especiallytheseparabilityofthe objectivefunction,see(11)–tocreatearelaxationoftheoriginal problemwherepartsoftheproblemarereplacedbyfreevariables (freewithinsomesimplebounds),forwhichcostsarecomputed indecoupledprograms,which containthecomplexity fromthe originalprogram.Aschematicrepresentationofthis decomposi-tioncanbefoundinFig.2.Thedecouplingofcertainpartsofthe originalproblemobviouslymakestheremainingmasterproblem smallerandthereforeeasiertohandle.Suchadecompositionisnot unique.Wechoseonewithfewoverlappingvariables.Aschematic representationoftheresultingmasterproblemisshowninFig.3.
The costs computation via the decoupledproblems is done offlineonadiscretizedgrid.Thedecoupledproblemsyield them-selvesanoptimizationproblemofthetype
min Costs
s.t. Achievedesired valueoffreevariable (asinmasterproblem)
Theoptimalsolutionsonthegridpointscanbeusedtofitsome model,whichunderestimatesthecosts,detailscanbefoundbelow. Thiscostmodelisnowpluggedintotheobjectivefunctionofthe masterproblemrepresentingcostsforthenewlyintroducedfree variables.Wethencancomputeagloballyoptimalsolutionforthe reducedmasterproblem.Iftherelaxationisvalid,thisyieldsus avalidupperboundfortheoriginalproblem. Thisupperbound determinedbythedecompositioncanthenbeusedasanindicator, howfaralocalsolutionfortheoriginalproblemisawayatthemost fromaglobalone.
Fig.3. IWRTailorshopreducedmasterproblemwithdependenciesandproportional/reciprocalinfluences.Diamondsindicatefreevariables.
Themasterprobleminourdecompositionconsistsofthe follow-ingequations,whichformarelaxationoftheoriginalproblem(2) byunderestimatingnegativeandoverestimatingpositiveeffects:
xDE
k+1 =pDE,
0·exp(−pDE,1·uSP k )
·log(pDE,2·uAD
k +1)·(xREk +pDE,
3) (12a)
xRE
k+1 =pRE,0·xREk +pRE,1log(pRE,2·uADk
+pRE,3·uSP k ·(u
SQ k )
2
+pRE,4·uWA k +1)
(12b)
xSA
k+1 =min{pSA,0·usitesk+1
·log
pSA,1·uEM k+1
usites k+1+pSA,2
+1
;
xSH
k +uPRk+1;pSA, 3·xDE
k+1}
(12c)
xSH
k+1=xSHk −xkSA+1+uPRk+1 (12d)
xCA
k+1 =pCA,0·(xCAk +(xSAk+1·uSPk )−uADk
−uEM
k+1·uWAk −(xSHk+1·pCA,6)
−f1(usitesk ;uPRk ,ukEM)−f2(uSQk ;uPRk ))
(12e)
uSP k ∈[lb
SP
,ubSP] (12f)
uSQk ∈[lbSQ,ubSQ] (12g)
uPRk ∈[lbPR,ubPR] (12h)
uWA k ∈[lb
WA
,ubWA] (12i)
usites k ∈[lb
sites
,ubsites]∩Z+
0 (12j)
uADk ∈[lbAD,ubAD] (12k)
uEM k ∈[lb
EM
,ubEM]∩Z+
0 (12l)
Here,thefunctionsf1andf2returnthecoststobedeterminedin thedecoupledproblems.Wechoosetheobjectiveagainas max
x,u,p x CA
N. (13)
Thefirstdecoupledprogram,whichdeterminesthecostsfora givenshirtquality,is
min uRQk ·uPR
k+1·pPR,cost+uMAk−1 (14a) s.t. u
SQk =pSQ,1·xMQk +pSQ,2·uRQk (14b)xMQk =pMQ,3·log(pMQ,4·uMAk−1+1) (14c)
uRQk ∈{pRQ,1,...,pRQ,nRQ} (14d)
uMAk−1∈[lb
MA
,ubMA] (14e)
Here,thevariableswithahatareconsideredtobegiven,e.g., fromthefreevariablesinthemasterproblem.Inthefollowing,we calltheminputvariablesinthiscontext.Thesecondsubproblem determinesthecostsforagiventotalnumberofsitesandconsists ofthefollowingequations.
min uDSk+1·pCA, 5+
uPSk+1·pCA,
4 (15a)
s.t. usites
k+1=uPSk+1+uDSk+1 (15b)
uPR
k+1=pPR,0·log(uPSk+1·
pPR,1·uEM k+1
uPS
k+1+uDSk+1+pPR,2
+1)
(15c)
uDSk+1∈[lb
DS
,ubDS]∩Z+
0 (15d)
uPSk+1∈[lb
PS
,ubPS]∩Z+0 (15e)
We evaluate thesedecoupled programs ona grid,i.e., on a discretizationofthefeasibleintervalforeach inputvariable.For
usitesk ∈[2,16],e.g.,wecouldchoosethegrid2,4,8,10,12,14,16. Withmorethanonediscretizedvariable,thisleadsto multidimen-sionalgrids.Foreachgridpoint,wecomputeanoptimalsolution forthecorrespondingdecoupledprogram.Withthesolutionsfor allgridpoints,wecanfite.g.,aquadraticmodel,like
f(uSQk ;uPRk )=a0+a1·uPRk +a2·uSQk +a3·uPRk ·uSQk +a4·(uPRk )2
Table4
Initialvaluesusedforcomputationswithoriginalfullproblemanddecomposition.
Originalmodel Decomposition
xEM
0 =10 uEM0 =10
xPS 0 =1
xDS
0 =1 usites0 =2
xSH
0 =67 x0SH=67
xPR
0 =200 uPR0 =200
xSA
0 =200 x0SA=200
xDE
0 =700 x0DE=700
xRE
0 =0.79 x0RE=0.79
xSQ0 =0.75 u
SQ 0 =0.75
xMQ0 =0.81 –
xMO
0 =0.73 –
xCA
0 =175,000 x0CA=175,000
Ofcourse,wecouldaswellusealinearoracubicmodelor some-thingcompletelydifferent.Thefitcanthenbedonebysolvinga simpleleastsquaresproblem,withXbeingthesetofgridpoints andh(x)afunction,whichreturnstheoptimalobjectivevaluefor eachgridpointx∈X:
min
a,x
x∈X
f(x)−h(x)2
2 (17a)
s.t. f(x)≤h(x)
∀
x∈X. (17b)Especiallywhenconsideringtheintegralityconditions, equal-ityconstraintsareunlikely tobefulfilled exactly.Thereforethe followingreformulationisintroducedforeachequalityconstraint.
uk=... −→ u
k+=... (18a) ∈[−,] (18b)Here,shouldbechosenreasonablysmall,suchthatthedecoupled programisfeasibleforalmostallofthegridpoints.
4. Numericalresults
Wepresentfirstresultsofourdecompositionapproachfrom Section3fortheIWRTailorshop.Allcomputationshavebeendone on an Intel Core i7 machine with12GB RAM running Ubuntu 11.10 (64-bit) withthe COIN-OR solvers Ipopt3.10,Bonmin 1.5, and Couenne 0.4.Ipopt 3.10 is a local solverfor nonlinear pro-grams[25],whichimplementsaninteriorpointmethod.Itisnot abletotreatintegerconstraintsandhasonlybeenusedfor refer-ence.Bonmin1.5isa solverforgeneralmixed-integernonlinear programsincludingseveralalgorithms[26].Forthecomputations in this article,B-BB,an NLP-basedbranch-and-boundalgorithm, hasbeenused.Incontrasttothesetwosolvers,Couenne0.4isa globalsolverusingaspatialbranch-and-boundalgorithminorder tofindglobaloptimaformixed-integernonlinearprogramswith nonconvexrelaxations[27].Theparametersetsused areshown inTables2and3.Initialvaluesandsimpleboundsonstatesand controlsusedinallcomputationscanbefoundinTables4and5.
Forthedecomposition,inafirststepthecostfunctionsf1and
f2forthenewfreevariablesuSQk andusitesk havebeencomputed. Thereforethesubproblems(3)and (3)havebeensolvedonthe grids
uSQk ∈{0.25,0.26,0.27,...,0.74,0.75}, (19a)
uPR
k ∈{100,200,300,...,900,1000}, (19b)
respectively
usites
k ∈{2,3,4,5,6}, (20a)
Table5
Simpleboundsusedforcomputationswithoriginalfullproblemanddecomposition.
Originalmodel Decomposition
uSP
k ∈[35,55] uSPk ∈[35,55]
uAD
k ∈[1000,2000] uADk ∈[1000,2000]
uWA
k ∈[1000,1500] uWAk ∈[1000,1500]
uMA
k ∈[0,5000] uMAk ∈[0,5000]
xEM
k ∈[8,16] uEMk ∈[8,16]
xPS
k,xkDS∈[1,6] usitesk ∈[2,6]
xPR
k ∈[0,1000] uPRk ∈[0,1000]
xSQ
k ∈[0.25,0.75] u
SQ
k ∈[0.25,0.75]
xSH
k ,xDEk ,xREk,xSAk ≥0 xSHk ,xDEk ,xREk,xSAk ≥0
xMO k ,x
MQ
k ≥0 –
uEMk ∈{8,9,10,...,15,16}, (20b)
uPR
k ∈{100,200,300,...,900,1000}. (20c)
Bysolvingthecorrespondingproblemsoftype(3)withthisdata, wereceivedthefollowingunderestimatorsforthecosts:
f1(usitesk ;uEMk ,uPRk )=21.6754−944.6455·uksites+1.4968·uPRk
−28.9341·uEMk +0.1338·usitesk ·uPRk −3.3626·usitesk ·uEMk
−0.0586·uPRk ·ukEM−1.3478·(usitesk )
2
+1.8831·(uEMk )
2
(21a)
f2(uSQk ;uPRk )=−898.0761+0.1991·uPRk+1+4726.3749·u
SQ k+1
−8.5390·uPRk+1·u
SQ
k+1+0.0004·(uPRk+1) 2
−5501.7182·(uSQk+1) 2
(21b) Theproblemsforallgridpointsofonesubproblemcouldbesolved inlessthan1minincludingthefitofthequadraticmodel.Aplotof theresultingcostfunctionfortheuSQ-subproblemcanbefoundin
Fig.4.However,itwasnecessarytousetheglobalsolverCouenne 0.4atleastinthissubproblem,aswegotdifferentsolutionswith Ipopt3.10forarelaxedversionofthissubproblemwhichobviously arenotgloballyoptimalasonecanobservefromthecomparison tothesolutionsofCouenne0.4inFig.5.Fortheusites-subproblema
plotofthecostfunctionisnotpossibleduetoitsdimensions. Whencomparingsolutionsandobjectivefunctionvalues,three effects need to be distinguished: integrality, local vs. global
0 200
400 600
800 1000
0.2 0.4 0.6 0.8 1 0 2000 4000 6000 8000 10000
uSQ
uPR
Φ2(uSQ,uPR)
Fig.4.Costvalues˚2 (bluedots)forsolutionsbyCouenne0.4forthe
decou-pledproblemforuSQwithpRQ,nRQ=2onthegriduSQ
k ∈{0.25,0.26,...,0.75},uPRk ∈
0 200
400 600
800 1000
0.2 0.4 0.6 0.8 1 0 2000
uSQ uPR
Couenne
0 200
400 600
800 1000
0.2 0.4 0.6 0.8 1 0 2000
uSQ
uPR
Ipopt
Fig.5.Costvalues˚2(bluedots)forsolutionsbyCouenne0.4andIpopt3.10forthedecoupledproblemforuSQwithpRQ,nRQ=2andrelaxeduRQonthegriduSQk ∈
{0.25,0.26,...,0.75},uPR
k ∈{100,200,...,1000}togetherwiththeunderestimatingcostfunction(coloredsurface).FromthedifferencesbetweenCouenne0.4(global
solver)andIpopt3.10(localsolver)onecandetermine,thatitisnecessaryheretouseaglobalsolverevenforthedecoupledproblem.(Forinterpretationofthereferences tocolorinthisfigurelegend,thereaderisreferredtothewebversionofthearticle.)
solutions,andfullversusoverestimatingreducedmodel.We inves-tigatedtwoscenarios.First,thevariablesusites
k respectivelyuPSk and
uDS
k havebeenfixedtotheirlowerbounds2respectively1.The
resultsarelistedinTable7.Here,Ipopt3.10andBonmin1.5found thesamesolutionsfortheoriginalproblem,whichisduetothe factthatthesolutionsdeterminedbyIpopt3.10arealreadyinteger. Thus,thereisnodifferencebetweenthesesolvers.Inthisspecial case,Couenne0.4alsofindsthesamesolutionsfortheoriginal prob-leminanacceptabletime(<1min).Thissettingallowsustofocus exclusivelyonthethirdeffect,thegapbetweenourreducedand thefullmodel.ThegapdeterminedbyCouenne0.4inbothcases reachesfrom4.0%to16.3%.
Fortunately,thisspecialcasewithfixedsitesissomethinglikea worstcase.Thegapismainlyduetoareductioninsales,whichin turnrelatestothedifferencesbetweenEqs.(3g)and(12c).Fixing thenumberofsitesonthelowerboundsresultsinanactivefirst termintheminimumexpressions.Thisisalsotheexpressionthat suffersmost,becausethenewvariableusitesk isinthiscasetwiceas largeasthecorrectexpressionxDS
k intheoriginalmodel.
Ifwe let usites
k free withintheir simple bounds as shown in
Table5,thegapsbetweenlocalsolutiontothefullmodelandglobal solutiontothereducedmodelalternatefrom4.0%to8.1%.Notethat thegaprelatingtoIpopt3.10isonlyforinformation,sinceIpopt3.10 cannothandleintegerconstraintsandthussolvesarelaxedversion oftheproblem.Oneobservesthatthegapfirstincreases,butthen decreases,seemingtoconvergetosomec>0.Thisbehaviorcanbe
Table6
ComparisonofcomputationtimesbetweenIpopt3.10,Bonmin1.5,andCouenne0.4
fortheoriginalproblem,aswellasCouenne0.4forthedecomposition.
N Originalmodel Decomposition
Ipopt Bonmin Couenne Couenne
1 1s <1s <1s <1s
2 1s 4s 3s 1s
3 <1s 45s >10min 2s
4 <1s 537s >10min 3s
5 <1s >10min >10min 5s
6 <1s >10min >10min 10s
7 1s >10min >10min 17s
8 <1s >10min >10min 27s
9 <1s >10min >10min 52s
10 1s >10min >10min 88s
explainedbythefactthatthementionedeffectleadstoanincrease incost(duetostorageofnot-soldshirts)thatisaboutlinearinthe numberofturns.Thepossiblewinningsmakinguseofafreechoice ofusites
k outperformstheseadditionalcostsifthetimescaleforthe
optimizationislongenough.Thus,thegapfirstincreasesandthan againdecreases.
Inthisscenario,Couenne0.4isnotableanymoretofinda solu-tion for the original problemin less than 10min for N≥3. All computationtimescanbefoundinTable6.Obviously,the decom-positioncanbesolvedfasterbyordersofmagnitude.EvenforN=10, ittakeslessthan2minwithCouenne0.4,whileBonmin1.5evenis notabletocomputealocalsolutionfortheoriginalprobleminless than10minforN≥5(seeTables7and8).
Summingup,wecouldestimatethegapbetweenreducedand fullmodeltobeintherangeofafewpercent.Weidentifiedthe mostimportantsourceof gapstobein thedifferencebetween Eqs.(3g)and(12c).Forlongertimehorizonsandmorefreedomof variablechoice,however,ourapproximationbecomesbetterand better.Thecomputationalgainsaredramaticandallowtocalculate globalsolutionsevenonthefulllengthofthetimehorizon.
5. Summaryandoutlook
Wepresentedanewmicroworldforcomplexproblemsolving, theIWRTailorshop.Thisturn-basedtest-scenarioyieldsa
mixed-Table7
Solutionsusingthefullproblemwithfixednumberofsitescomparedtothe decom-positionapproach.NotethatthesolutionsbyIpopt3.10arealreadyinteger,sothat thereisnodifferencebetweenBonmin1.5andIpopt3.10.
N Originalmodel Decomposition Gapin%
Ipopt Bonmin Couenne
1 180995.1 180995.1 188495.0 4.0%
2 187170.0 187170.0 198599.3 5.8%
3 193530.2 193530.2 209006.8 7.4%
4 200081.2 200081.2 219726.5 8.9%
5 206828.8 206828.8 230767.7 10.4%
6 213778.7 213778.7 242140.2 11.7%
7 220937.2 220937.2 253853.9 13.0%
8 228310.4 228310.4 265919.0 14.1%
9 235904.8 235904.8 278346.0 15.2%
Table8
Solutionsusingthefullproblemcomparedtothedecompositionapproach.For solu-tionswitha‘*’,Bonmin1.5didnotfindanoptimalsolutionwithin10min.However, thegapbetweenlowerandupperboundwasinallcasessignificantlybelow1%.
N Originalmodel Decomposition
Ipopt Gapin% Bonmin Gapin% Couenne
1 181835.6 3.5% 180995.1 4.0% 188495.0
2 189161.4 4.8% 187170.0 5.8% 198599.3
3 196180.0 6.1% 193530.2 7.4% 209006.8
4 204760.9 6.8% 201860.5 8.1% 219726.5
5 215097.9 6.8% 212332.9* 8.0% 230767.7
6 226408.7 6.5% 223118.0* 7.9% 242140.2
7 239011.7 5.8% 236196.6* 7.0% 253853.9
8 252536.7 5.0% 250100.3* 6.0% 265919.0
9 266817.6 4.1% 264399.8* 5.0% 278346.0
10 281619.2 3.3% 279119.3* 4.1% 291145.9
integernonlinearprogramwithnonconvexrelaxationandconsists of functional relations based on optimizationresults. Withthe IWR Tailorshop we intend tostart a new era beyond trial-and-errorinthedefinitionofmicroworldsforanalyzinghumandecision making.
Tobeabletosolvetheresultingproblemswithinreasonable times,weproposedatailoreddecompositionapproach,wherethe problemisdividedintoamasterproblemandseveralsubproblems. Thisdecompositionisbuiltsuchthatityieldsavalidupperbound forthecorrespondingglobalsolutionoftheoriginalproblemand thuscanbeusedasanindicatorforthequalityoflocalsolutionsof theoriginalproblem.
We finallypresented promising numerical resultsusing this decompositionapproach,whichindicatedahighpotential.Inafirst (worst-caselike)scenariowithfixedvariables, thegapbetween decompositionandoriginalproblemwasbetween4.0%and16.3%, whiletheoriginalproblemcouldalsobesolvedtoglobal optimal-ity.Inasecondscenario,italternatedbetween4.0%and8.0%.For thisscenario,onlywiththedecompositionitwaspossibletoget agloballyoptimalsolutionformorethan2turns.The computa-tiontimesforthedecompositionarebelow2minevenfor10turns withCouenne0.4,whilethelocalsolverBonmin1.5couldnotfinda localsolutionfortheoriginalproblemwithin10minformorethan 4turns.Infuturework,itcouldbeinterestingtocomparethese resultstoaLagrangianrelaxationtypeapproach.
Theparametersetusedforthecomputationsinthisarticlehas beensetupmanuallytoachieveamoreorlessreasonablemodel behavior.Here westill seehighpotentialforimprovement. For example,onecouldusederivative-freeoptimizationmethodsto optimizetheparametervaluessuchthattwo(orevenmore) previ-ouslydefinedstrategies(e.g.,ahighandalowpricestrategy)yielda similarobjectivevalue.Bythat,participantscouldfollowdifferent strategiesandstillperformquitewell.
Animportantstepinfutureworkwillbetocollectdatawith participants,whichwillthenbeusedtocomputeoptimalsolutions fortheIWRTailorshopstartinginstatesderivedbytheparticipants –aswellfortheoriginalproblemasforthedecomposition.This willyieldanindicatorfunctionwithguaranteedgapstotheglobal solutionfortheoriginalproblem.
Ifwefinallysucceedtocomputeoptimalsolutionsfastenough, wecantakethisapproachevenonestepfurther:bycomputingthe performanceindicatoronline,i.e.,whileparticipantsaresolvingthe IWRTailorshop,wecangiveanimmediatefeedbackbasedon opti-malsolutions.Itwillbesubjectoffutureresearchhowthisfeedback canbeusedtoimprovelearningofcomplexproblemsolving com-petences.Answerstothisquestioncanbeusedtodesignprograms totrainfuturedecisionmakers.
References
[1]J.Funke,Complexproblemsolving:acaseforcomplexcognition?Cognitive Processing11(2010)133–142.
[2]W.Putz-Osterloh,B.Bott,K.Köster,Modelsoflearninginproblemsolving–are theytransferabletotutorialsystems?ComputersinHumanBehavior6(1990) 83–96.
[3]Z.H.Kluwe,C.Misiak,H.Haider,Systemsandperformanceinintelligence tests,in:H.Rowe(Ed.),Intelligence:ReconceptualizationandMeasurement, Erlbaum,1991,pp.227–244.
[4] M.Kleinmann,B.Strauß,Validityandapplicationsofcomputersimulated scenariosinpersonalassessment,InternationalJournalofSelectionand Assess-ment6(2)(1998)97–106.
[5]B.Meyer,W.Scholl,Complexproblemsolvingafterunstructureddiscussion. Effectsofinformationdistributionandexperience,GroupProcessand Inter-groupRelations12(2009)495–515.
[6] C.M.Barth,Theimpactofemotionsoncomplexproblemsolvingperformance and ways of measuring this performance, Ph.D. thesis, Ruprecht-Karls-UniversitätHeidelberg,2010.
[7] C.M.Barth,J.Funke,Negativeaffectiveenvironmentsimprovecomplexsolving performance,CognitionandEmotion24(2010)1259–1268.
[8] P.A.Frensch,J.Funke(Eds.),ComplexProblemSolving:TheEuropean Perspec-tive,LawrenceErlbaumAssociates,1995.
[9]J.Funke,ProblemlösendesDenken,Kohlhammer,2003.
[10]J.Funke,P.A.Frensch,Complexproblemsolving:theEuropeanperspective–10 yearsafter,in:D.Jonassen(Ed.),LearningtoSolveComplexScientificProblems, LawrenceErlbaum,2007,pp.25–47.
[11]D.Danner,D.Hagemann,A.Schankin,M.Hager,J.Funke,BeyondIQ.Alatent state-traitanalysisofgeneralintelligence,dynamicdecisionmaking,and implicitlearning,Intelligence39(2011)323–334.
[12]S.Sager,C.M.Barth,H.Diedam,M.Engelhart,J.Funke,Optimizationtomeasure performanceintheTailorshoptestscenario–structuredMINLPsandbeyond, in:ProceedingsEWMINLP10,CIRM,Marseille,2010,pp.261–269.
[13]S.Sager,C.M.Barth,H.Diedam,M.Engelhart,J.Funke,Optimizationasan anal-ysistoolforhumancomplexproblemsolving,SIAMJournalonOptimization 21(3)(2011)936–959.
[14]P.Benner,V.Mehrmann,D.C.Sorensen(Eds.),DimensionReductionof Large-ScaleSystems:ProceedingsofaWorkshopheldinOberwolfach,Germany, October19–25,2003,Springer,Berlin,Heidelberg,2005.
[15]A.C.Antoulas,ApproximationofLarge-scaleDynamicalSystems,SIAM,2005. [16]W.H.Schilders,H.A.vanderVorst,J.Rommes,ModelOrderReduction:Theory,
ResearchAspectsandApplications,Springer,Berlin,Heidelberg,2008. [17] M.Held,R.M.Karp,Thetraveling-salesmanandminimumcostspanningtrees,
OperationsResearch18(1970)1138–1162.
[18]M.Held,R.M.Karp,Thetraveling-salesmanproblemandminimumspanning trees.Partii,MathematicalProgramming1(1)(1970)6–25.
[19] H.Pirkul,V.Jayaraman,Amulti-commoditymulti-plantcapacitatedfacility locationproblem:formulationandefficientheuristicsolution,Computers& OperationsResearch25(10)(1998)869–878.
[20]J.A.Muckstadt,S.A.Koenig,AnapplicationofLagrangianrelaxationto schedul-inginpower-generationsystems,OperationsResearch25(3)(1977)387–403. [21] A.M.Geoffrion,ApproachestoIntegerProgramming,North-HollandPubCo., 1974,Chapter:LagrangianRelaxationforIntegerProgramming,pp.82–114. [22]C.Lemarechal,Lagrangianrelaxation,in:M.Jünger,D.Naddef(Eds.),
Compu-tationalCombinatorialOptimization,LectureNotesinComputerScience,vol. 2241,Springer,2001,pp.112–156(Chapter4).
[23]J.Burgschweiger,B.Gnädig,M.Steinbach,Optimizationmodelsforoperative planningindrinkingwaternetworks,OptimizationandEngineering10(1) (2008)43–73.
[24]R.Fourer,D.M.Gay,B.W.Kernighan,AMPL:AModelingLanguagefor Mathe-maticalProgramming,DuxburyPress,2002.
[25]A.Wächter,L.T.Biegler,Ontheimplementationofaninterior-pointfilter line-searchalgorithmforlarge-scalenonlinearprogramming,Mathematical Programming106(1)(2006)25–57.
[26]P.Bonami,L.T.Biegler,A.R.Conn,G.Cornuéjols,I.E.Grossmann,C.D.Laird,J. Lee,A.Lodi,F.Margot,N.Sawaya,A.Wächter,Analgorithmicframeworkfor convexmixedintegernonlinearprograms,DiscreteOptimization5(2)(2009) 186–204.
[27]P.Belotti,Couenne:auser’smanual,Tech.rep.,LehighUniversity,2009.