• Nem Talált Eredményt

College admissions with ties and common quotas: Integer programming approach

N/A
N/A
Protected

Academic year: 2022

Ossza meg "College admissions with ties and common quotas: Integer programming approach"

Copied!
13
0
0

Teljes szövegt

(1)

ContentslistsavailableatScienceDirect

European Journal of Operational Research

journalhomepage:www.elsevier.com/locate/ejor

Innovative Applications of O.R.

College admissions with ties and common quotas: Integer programming approach R

Kolos Csaba Ágoston

a

, Péter Biró

a,b,1,

, Endre Kováts

c

, Zsuzsanna Jankó

a,b

aDepartment of Operations Research and Actuarial Sciences, Corvinus University of Budapest, H-1093, F ˝ovám tér 13-15., Budapest, Hungary

bInstitute of Economics, Research Centre for Economic and Regional Studies, Hungarian Academy of Sciences, H-1097, Tóth Kálmán u. 4., Budapest, Hungary

cBudapest University of Technology and Economics, H-1111, M ˝uegyetem rakpart 3., Budapest, Hungary

a rt i c l e i nf o

Article history:

Received 28 January 2020 Accepted 19 August 2021 Available online xxx Keywords:

Assignment Stable matching College admission Distributional constraints Integer programming

a b s t r a c t

Admissiontouniversities isorganised inacentralisedschemeinHungary.Inthispaperweinvestigate twomajorspecialitiesofthisapplication:tiesandcommonquotas.Atieoccurwhensomestudentshave thesamescoreataprogramme.Ifnotenoughseatsareavailableforthelasttied groupofapplicants ataprogrammethentherearethreereasonablepoliciesusedinpractice:1)allmustberejected,asin Hungary2)allcanbeaccepted, asinChile3)alotterydecideswhichstudentsareacceptedfromthis group,asinIreland.Eventhoughstudent-optimalstablematchingscanbecomputedefficientlyforeach oftheabovethreecases,wedeveloped(mixed)integerprogramming(IP)formulationsforsolvingthese problems,andcomparedthesolutionsobtainedbythethreepoliciesforarealinstanceoftheHungarian application from2008.Inthecase ofHungarycommonquotasarisefromthe facultyquotasimposed ontheirprogrammesandfromthenationalquotassetforstate-financedstudentsineachsubject.The overlappingstructureofcommonquotasmakesthecomputationalproblemoffindingastablesolution NP-hard, even forstrictrankings.In thecase oftiesand commonquotasweproposetwo reasonable stablesolutionconceptsfortheHungarianandChileanpolicies.Wedeveloped(mixed)IPformulations forsolvingthesestablematchingproblemsandtestedtheirperformanceonthelargescalerealinstance from2008andalsoforonefrom2009undertwodifferentassumptions.Wedemonstratethatthemost generalcaseisalsosolvableinpracticebyIPtechnique.

© 2021TheAuthors.PublishedbyElsevierB.V.

ThisisanopenaccessarticleundertheCCBY-NC-NDlicense (http://creativecommons.org/licenses/by-nc-nd/4.0/)

1. Introduction

GaleandShapleygaveastandardmodelforcollegeadmissions (Gale & Shapley,1962), andsuggestedstablematching foritsso- lution. Intuitively,a matchingis stableif an applicationto acol- lege is rejected because the college is already full with higher ranked students. Gale and Shapley showed that a stable match- ing can always be found by the deferred-acceptance algorithm, which runsinlinear time inthe numberofapplications, seee.g.

Manlove (2013).Moreover,the student-orientedvariantresultsin

R Earlier results of this paper have been presented in two conference papers [5,6].

Corresponding author.

E-mail addresses: kolos.agoston@uni-corvinus.hu (K.C. Ágoston), peter.biro@krtk.mta.hu (P. Biró), endre.kovats.92@gmail.com (E. Kováts), zsuzsanna.janko@uni-corvinus.hu (Z. Jankó).

1 Supported by the Hungarian Academy of Sciences under its Momentum Pro- gramme ( Engineering Economics in Matching Markets , no. LP2021-2), and by the Hungarian Scientific Research Fund – OTKA (no. K129086 ).

astudent-optimalstablematching,meaningthatnostudentcould geta betterassignment inanyother stablematching.The theory of stable matchings has intensively been studied since 1962 by mathematicians/computer scientists (see e.g. Manlove, 2013) and economists/gametheorists(see e.g. Roth& Sotomayor,1990). The Gale-Shapleyalgorithm hasalsobeen usedinpractice all around theworld (Biró, 2017), firstin 1952inthe USresident allocation programme,calledNRMP(Roth, 1984),thenalsoinschoolchoice, e.g. in Boston (Abdulkadiro˘glu, Pathak, & Roth, 2005a) and New York(Abdulkadiro˘glu,Pathak,Roth,&Sönmez,2005b).InHungary, the nationaladmission scheme forsecondary schoolsfollows the original Gale-Shapleymodelandalgorithm (Biró,2014a), andthe highereducationadmission schemealsouses aheuristic solution basedontheGale-Shapleyalgorithm(Biró,2014b).

The Hungarian higher education admission scheme have at leastfour important specialfeatures: presenceof ties, lower and common quotas, and paired applications. The students submit preference list on the university programmes they apply to, and

https://doi.org/10.1016/j.ejor.2021.08.033

0377-2217/© 2021 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license ( http://creativecommons.org/licenses/by-nc-nd/4.0/ )

Please citethisarticleas:K.C.Ágoston,P.Biró,E.Kovátsetal.,Collegeadmissionswithtiesandcommonquotas:Integerprogramming

(2)

K.C. Ágoston, P. Biró, E. Kováts et al. European Journal of Operational Research xxx (xxxx) xxx

are ranked according to their scores, whichare of integer values currentlyintherangeof[0,500] higherscoremeaningbetterper- formance. The solution by the coordinating agency is announced in termsof cutoff scoresto be understood asfollows: every stu- dent isadmitted tothebest programmeofher preferencewhere she achievedthe cutoff score.Atie canoccur whentwo ormore studentshavetheverysamescoreataprogrammetheyapplyfor.

TiesareneverbrokeninHungary,eitherallornoneofthestudents inthetieareadmitted,dependingonthecutoff score.Lowerquo- tas are minimum requirements forthe number of admitted stu- dents for each programme, which are set by the universities to maketheeducationeconomical.Applicationsbythestudentsalso includethecontracttermofthestudy,i.e.,whethertheirstudyis funded by thestate or privately.Forevery programmethere isa commonupperboundforthenumberofadmittedstudentsunder anycontract term,andtherearealso nationwidecommonquotas forthenumberofstudentsgettingstatefundsineachsubject(e.g., Chemistry).Finally,thestudentsapplyingforteachers’programmes shouldapply forpairsofprogrammes(suchasMath-Physics).The latterfeature wasre-introducedinthe applicationin2010,butit was not present in 2008 and2009, the years our analysis bears oninthispaper.Furtherdetailsoftheapplicationcanbefoundin Biró (2014b).

Each ofthe three specialfeatures (lowerandcommon quotas andpairedapplications)makestheproblemNP-hard(Biró,Fleiner, Irving, & Manlove, 2010), only the case of tiesis resolvable effi- ciently (Biró & Kiselgof, 2015). In a recent paper (Ágoston, Biró,

& McBride,2016) Ágostonetal.studiedtheusage ofintegerpro- gramming techniques for finding stable solutions withregard to each ofthesefourspecialfeatures separately,andtheysolvedthe case of lower quotas for the real instance of 2008. We refer to this instance as 2008-Educatio instance, which wasprovided for research purposeby thecoordinatinggovernmental agency called Educatiokht,andcontainedalltherelevantupperandlowerquo- tasinan anonymdataset.Inthisfollow-upworkwedevelop and test new IP formulations for the case of ties and common quo- tas separately andthen also forthecase whenboth features are present. So, the ultimategoal of this work was to suggest a so- lution concept forthe collegeadmission problemwhereties and commonquotasarealsopresent,andtoprovideintegerprogram- ming formulations that are suitable to compute this solution for large scale applications, such as theHungarian university admis- sionschemewithover100,000students.

Thepresenceoftiesandequaltreatmentpolicy(i.e.,notbreak- ing theties)isalsoa featureintheChilean universityadmissions (Rios, Larroucau, Parra, & Cominetti, 2014). However, the policy used there is more permissive than the Hungarian one, since if two studentswiththesamescorearecompetingforthelastseat ataprogrammethentheyarebothacceptedinChile,butbothre- jectedinHungary,whilstarandomtie-breaking isusedinIreland (Chen,2012) todecidewhich studentwillbeadmitted.Theseso- lution conceptshavebeenstudied theoreticallyinBiró & Kiselgof (2015) underthenameofH-stabilityandL-stability.Theintuitive resultprovedinthatpaperisthatwhenstudent-optimalstableso- lutionsare comparedforthesameinstancethenthecutoff scores are atleastashighinIreland asin Chile,andatleastashighin HungaryasinIreland.Sothestudentsarealwaysgettingtheworst assignments in Hungary, a better assignment in Ireland, andthe best one in Chile.In thispaperwe quantify thesedifferenceson theHungarianuniversityadmissioninstancesfrom2008and2009, presentedinSection5.

Commonquotas arealsopresentinmanyotherapplications.A recentpaper(Baswana,Chakrabarti,Chandran,Kanoria,&Patange, 2019) describes the admission to Engineering Colleges in India, wherecommonquotasareusedfordifferent,possiblyoverlapping types,justasintheHungariancase.Thismeansthatastablesolu-

tionmaynotexistandtheproblemisNP-hard(Biró etal.,2010), thustheauthorshaveproposedaheuristicalgorithm.Interestingly theauthorswereawareofthepossibilityofusingIPsolutionsfor this problem, asdescribed in Ágostonet al. (2016) for the Hun- gariancase2,but they decided not to use that approach because ofthe possibly long run time. In this paperwe demonstrate the caseofcommonquotasistractableforlargeinstances,evenifthe quotasareoverlapping andtheproblemisfurthercomplicatedby the presence ofties, asin theHungarian case. The Indian appli- cations have also been studied by Sönmez & Yenmez (2019a,b), wherethecaseofnestedsetsystemshavebeenprovedtobesolv- ablebyageneraliseddeferred-acceptancealgorithm,whichcorre- spondstothefindingofBiró etal.(2010)ontheHungariancollege admissions. Furthermore, thesame kind ofrequirements are im- plemented in college admission schemes with affirmative action, suchastheBraziliancollegeadmissionsystem(Aygün&Bo,2013).

Similar distributional requirements are present for the Israeli Mechinot gap-year programs (Gonczarowski, Kovalio, Nisan, &

Romm, 2019), where the authors developed and implemented a new Gale-Shapley type heuristic solution for the application.

Ágoston, Biró, & Szántó (2018b) used integer programmingtech- niques for allocating students to companies at CEMS universities undercomplexdistributionalconstraintswithrespecttothetypes ofstudents.Distributional constraintsarepresentinschool choice programmes as well, where the decision makers want to con- trolthesocio-ethnicaldistributionofthestudents(Abdulkadiro˘glu, 2005;Abdulkadiro˘glu&Ehlers,2007;Bo,2016;Echenique&Yen- mez, 2015; Ehlers, Hafalir, Yenmez, & Yildirim, 2014). Another well-documented case is the Japanese resident allocation, where thegovernment wantsto ensure that thedoctors areevenly dis- tributed across the country. They imposed lower quotas on the numberofdoctorsallocatedineachregion (Goto,Kojima, Kurata, Tamura,&Yokoo,2017;Kamada&Kojima,2014;2017a;2017b).

Assignments problemsare extensivelystudied in theOR liter- ature (see e.g. Pentico, 2007). There are many examples ofprac- tical matching problems, such as papers assignment to review- ers(Garg,Kavitha, Kumar,Mehlhorn, & Mestre, 2010), course al- location(Diebold&Bichler,2017),marriageassignment(Cao,Frag- niére,Gautier,Sapin,&Widmer,2010)andkidneyexchanges(Biró, vandeKlundert,& Manlove,2019). However,theusageofinteger programming techniques is relatively new for two-sided match- ing markets under preferences. This may well be caused by the good performance of the Gale-Shapley type heuristics in prac- tice(see e.g. Roth &Peranson, 1999). Withtheir shortruntimes, theyapparentlyhavebeenpreferredoverintegerprogrammingap- proaches tosolve thesometimes largeinstances. Besidesa previ- ouspaper(Ágostonetal., 2016)motivatedby theHungarianuni- versityadmissions, therewereonlyacoupleofstudiesinthisdi- rectionforfindingmaximumsizeweaklystablematchingsinresi- dentallocationproblemwithties(Delormeetal.,2019;Kwanashie

& Manlove, 2014), forfinding stable matchingin thepresence of couples(Biró,McBride,&Manlove,2014),andunderdistributional constraints(Ágostonetal.,2018b).

Thepapermostcloselyrelatedtoourworkistherecentstudy of Delorme et al. (2019), where IP techniques have been devel- oped andtestedto solveatwo-sidedstablematchingproblemin a realapplication, pairing children withadoptive families. OurIP formulations forsolving the classical college admissionsproblem (in their terminology, the Hospitals/Residents problem) are very similar. Wealsofindthat introductionofadditionalvariablesand

2The authors wrote “In principle, one could appeal to the integer programming method devised by Biró and McBride (2014) for this problem, that finds a stable outcome when it exists. However, such an approach was untenable in practice due to complexity, relative opaqueness, and the likelihood of an unreasonably large run time on our large problem.”

(3)

binary cutoff scoresvariables drasticallyimproves theefficiencyof the IP solution.Thereafter they focuson theNP-hard problemof finding a maximum size weakly stable matching in case of ties, whilst weinvestigatetheHungarianequaltreatment policywhen considering thetiesandalsothefeatureofcommonquotas,both present in the Hungarian application. The presence of common quotasmakestheproblemNP-hard.WetestourIPformulationson the2008and2009instancesofHungarianuniversityadmission.

Realinstancesanalysed

Besides the 2008-Educatio instance, we have also had access to the Hungarian university admission datafrom anothersource, the KRTK Databank for the years 2001–2017. However the lat- ter instances donot contain capacity constraints,andthe identi- fiers for the programmes also differ from the 2008-Educatio in- stance. Nevertheless, using the 2008-Education instance, we ex- tendedourcomputationalanalysesforthe2009-KRTKinstanceun- der two reasonableassumptions afterlinking the2008-Education and2008-KRTKinstancesandthenthe2008-KRTKand2009-KRTK instances.3Thelinkageofthetwo2008instancesinvolvedmatch- ing of the students and programmes of the two instances. This wasnot straightforward dueto some limitationsof theinstances (e.g. the KRTK instance contained only the first six applications of each student) and the possibility that the two instances re- flectdifferentsnapshotsoftheapplications.Nevertheless,approx- imately 98,5% ofthe programmes have been identified. Then we alsoneededtomatchtheprogrammesinthe2008and2009KRTK instances, which was also non-trivial due to the changes in the listofprogrammesoffered (sometimesonlythe nameoftheuni- versity orthefacultyhaschanged,buttheprogrammesremained essentially the same, which required manual checks). When the linkagebetweentheprogrammesofthe2008-Educatioand2009- KRTKinstanceswere ready,weaddedthecapacityconstraintsfor the 2009-KRTKinstance intwo reasonableways: a)we usedthe same constraints as in the 2008-Educatio instance, b) we used thenumberofadmittedstudentsin2009forallprogrammesand common quotas identified from the 2008-Educatio instance. We refer to these two cases as2009-KRTK-previous and2009-KRTK- admitted,respectively.

Regarding the main statistics of the instances, in the 2008- Educatioinstancewehave81,427applicants,353,618applications, 3298programmes,2275facultyquotas,and206nationalcommon quotas. Whilstinthe2009-KRTKinstancewe have105,739 appli- cants,310,346applications,2992programmes,1828facultyquotas, and197nationalcommonquotas.

Ourcontribution

Ourresearchisafollow-upoftheworkofÁgostonetal.(2016), where the same application, the Hungarian university admission was studied with its four special features: ties, common quotas, lower quotas andpaired applications.InÁgostonetal.(2016)the specialfeatureswereconsideredone-by-oneandtheirmainresult wasapracticallytractableIPsolutionfortheNP-hardcaseoflower quotas, demonstratedonthe 2008-Educationinstance.Inthispa- per we continuethe investigation andfirst we lookmore deeply into the classical collegeadmission problem, where we compare several (mixed) IP formulations.The cutoff score formulation(al- readydescribedinÁgostonetal.(2016))turnsouttobe viableto solveforthe2008-Educatioinstanceevenwithoutanypreprocess- ing. For thestill efficientlysolvable caseofties we findthat the

3This data matching challenge was conducted as part of a student project, the details are available in a BSc thesis upon request.

newbinarycutoff formulation (thatis similartothe IPsuggested inDelorme etal.(2019)) performs thebest amongtheIP-s stud- ied. We then compare the solutions of the Hungarian, Irish and Chilean policies for the caseof ties. Confirming the theories de- scribedinBiró &Kiselgof(2015),wefindthatindeedthestudent- optimalcutoff scoresare alwaysthehighestinHungary,followed by theIrishcutoffs andthe lowestin Chile,ifconsidered forthe same instance. Finally, we define stability through cutoff scores forthecaseoftiesandcommonquotas withrespectto theHun- garianandChileanpolicies,andwe proposeIP formulationswith binary cutoff score variables. We find that these IP formulations work well forthe 2008-Educatioinstance.We comparethe solu- tionswithrespecttotheHungarian,IrishandChileanpolicies.We also extended the computational analyses for the 2009-KRTKin- stanceafterlinking the2008-Education and2008-KRTKinstances aswell asthe2008and2009KRTKinstancesundertwoassump- tions:a) by using the 2008 quotas for2009 everywhere, and b) setting the quotas equal to the number of students admitted. In orderto speedup thecomputationswe introduced apreprocess- ingphasethatfixessomevariablesintheIPmodelcorresponding tostudents’ applicationsthat are eithersurelyacceptedorsurely rejectedinthestablesolutions.

Layoutofthepaper

In Section 2, we start by investigating the basicGale-Shapley caseandtestingdifferentIP formulationsforasimplifiedinstance ofthe 2008-Educationinstance. We findthat the cutoff formula- tions perform better than the standard ones regarding their run time. In Section 3,we consider the special feature of tiesunder theHungarianpolicy,wherethequotasarestrictly obeyed,sothe lastgroup ofstudentswiththesamescore(thatcannotfitinthe quota) is rejected. Here we observe that the cutoff formulation withbinaryvariablesoutperformsthecutoff formulationwithcon- tinuousvariables.Then, inSection 4,wedescribe IP formulations alsofortheChileanpolicy,wherethelastgroupofstudentsisstill accepted (without whom there remains an empty seat, butwith whom the quota may be violated). We compare the results ob- tainedfortheHungarian,IrishandChileanpolicies.Thenweturn our attentionto common quotas, which are presentin the Hun- garianapplicationin a structure that makethe problemNP-hard to solve (Biró et al., 2010). We test different IP-s for solving the problemunderstrictpreferencesinSection5.Finally,inSection6, we tackle the real case when both ties andcommon quotas are present.WedevelopIP-sagainforboththeHungarianandChilean policies and we compare the results forboth the 2008-Educatio andthe2009-KRTKinstances.WeconcludeinSection7.

2. TheGale-Shapleymodel

Inthissectionwe providevarious IPformulationsfortheclas- sicalGale-Shapleycollegeadmissionmodelandthenwetestthese formulationsonthe2008-Educatioinstance.

2.1. Definitionsandpreliminaries

Inthe classicalcollegeadmissionsproblemby Gale & Shapley (1962)thestudentsareassignedtocolleges.4 Inthefollowingwe willrefertothetwosetsasapplicantsA=

{

a1,...,an

}

andcolleges

C=

{

c1,...cm

}

.Throughoutthemanuscript,weusetheconvention ofi=1,...,nand j=1,...,m. Letuj denote theupper quota of

4In the computer science literature this problem setting is typically called Hospi- tal/Residents problem (HR), due to the National Resident Matching Program (NRMP) and other related applications.

(4)

K.C. Ágoston, P. Biró, E. Kováts et al. European Journal of Operational Research xxx (xxxx) xxx

college cj. Regarding the preferences,we assume that the appli- cants provide strict rankings over thecolleges, whereri j denotes therankoftheapplication(ai,cj)inapplicantai’spreferencelist.

Wesupposethatthestudentsarerankedaccordingtotheirscores at the colleges, so college cj ranks applicant ai according to her score si j atcj,where thegreater thescore themore preferredis the studentby the college. LetEA×C denote theset ofappli- cations. Amatching isasetofapplications,whereeach studentis admitted to atmostone collegeandeach collegehasatmostas many assignees asits quota. Fora matching M let M(ai) denote the collegewhereai isadmitted to (or∅if ai isnot allocatedto anycollege)andletM(cj)denotethesetofapplicantsadmittedto cjinM.ThusthefeasibilityofamatchingMEmeansthatforev- eryapplicantai,

|

M(ai)

|

≤1andforeverycollegecj,

|

M(cj)

|

uj. AmatchingME isstableifforanyapplication(ai,cj)outsideM eitheraiprefersM(ai)tocjorcjfilleditsseatswithujapplicants who all have higher scores than ai has. The deferred-acceptance algorithm ofGale andShapley provides a student-optimal stable matchinginlineartime(Gale&Shapley,1962).

The notion of cutoff scores is important for both the classical Gale-Shapleymodelanditsgeneralisationswithtiesandcommon quotas.Lettjdenotethecutoff scoreofcollegecjandlettdenote asetofcutoff scoresforallcolleges.Astudentaiisadmissibletoa collegecjwithcutoff scoretjifsi jtj.WesaythatmatchingMis impliedbycutoff scorestifeverystudentisadmittedtothemost preferredcollegeinherlist,wheresheisadmissible(i.e.,achieved the cutoff score).Wesay that aset ofcutoff scorestcorresponds to a matching M ift implies M. Fora matching M an applicant ai has justified envytowards another applicant ak atcollege cj if M(ak)=cj,aipreferscjtoM(ai)andaiisrankedhigherthanakat cj (i.e.si j>sk j). Amatchingwithnojustifiedenvyiscalledenvy- free(seeWu&Roth,2018andYokoi,2020).

It is not hard to see that a matching is envy-free ifand only ifitisimpliedbysome cutoff scores(Ágoston&Biró,2017).Note that an envy-free matching can be wasteful in the sense that it can leave manydesiredseatsempty (in factthe emptymatching is alsoenvy-free).More precisely,whena studentaipreferscjto M(ai) andcj isnot saturated(i.e.

|

M(cj)

|

<uj) then we saythat M iswasteful. Bydefinitionit followsthat amatching isstableif and onlyif itis envy-free andnon-wasteful (see also Azevedo&

Leshno,2016).Toachievenon-wastefulnesswecanrequirethecut- off of any unsaturated college to be minimum (zero in our case).

Alternatively, we may require that no cutoff score be decreased withoutviolatingthequotaofthatcollege,whilekeepingtheother cutoff scores.Furthermore,wemayalsosatisfythelattercondition by ensuring that we select thestudent-optimal envy-free match- ing,whichisthesameasthestudent-optimalstablematching(Wu

& Roth,2018).Toobtainthissolutionweonlyneedtouseanap- propriateobjectivefunction.Wewillusetheabovedescribedcon- nectionswhendevelopingourIPs.

2.2. IPformulations

Herewewilldescribethreedifferentformulations.

TheBaïou-Balinskiformulation

Firstwe describethebasicIP formulationfortheGale-Shapley model, proposed in Baïou & Balinski (2000). All of our formula- tions are basedon thebinaryvariables correspondingto applica- tions,wherexi j=1denotesthattheapplication(ai,cj)isaccepted in thesolution (andxi j=0 denotesthat it isnot).The feasibility ofamatchingcanbeensuredwiththefollowingtwosetsofcon- straints,whicharepartofallourIPs.

j:(ai,cj)E

xi j≤1foreachaiA (1)

i:(ai,cj)E

xi jujforeachcjC (2)

Notethat(1)impliesthatnoapplicantcanbeassignedtomore thanonecollege,whereas(2)impliesthatthe upperquotas ofthe collegesarerespected.

Toenforcethe stabilityofafeasible matchingwe can usethe followingconstraint.

k:rikri j

xik

·uj+

h:(ah,cj)E,sh j>si j

xh jujforeach

(

ai,cj

)

E (3)

Notethatforeach(ai,cj)E,ifaiismatchedtocjortoamore preferredcollegethenthefirsttermensuresthesatisfactionofthe inequality.Otherwise,whenthefirsttermiszero,thenthesecond termisgreater thanorequalto therighthandsideifandonlyif theplacesatcjarefilledwithapplicantswithhigherscores.

Among the stable solutions we can choose the applicant- optimalonebyminimisingthefollowingobjectivefunction.

min

(ai,cj)E

ri j·xi j (4)

Weabbreviatethisformulationbasedonconstraints(1),(2)and (3),andobjectivefunction (4)asSO-BB (referringtostudentopti- mal Baïou-Balinski model). This IP results in the student-optimal stablematching.

Thecutoff scoreformulation

Foreachcollegecjwedefineanonnegativerealvariabletj de- notingitscutoff score.

tj

1−xi j

·

(

s¯+1

)

+si j foreach

(

ai,cj

)

E (5) and

si j+

tj+

k:rikri j

xik

·

(

s¯+1

)

foreach

(

ai,cj

)

E (6)

wheres¯isan upperbound forthescores (currently500in Hun- gary)and

isasmallpositivenumber.5Here(5)impliesthatifa

studentaiisadmittedtocollegecjthenherscore(si j)hasreached the cutoff score. The second Eq. (6) ensures the envy-freeness, namelythatifaiisnotadmittedtocjortoanybetteraccordingto herpreferencethen itmustbe thecasethat shehasnotreached thecutoff atcj.Thusthesetwosetsofconditionscreatethecon- nectionbetweenthecutoff scoresandthematching,ensuringthat thematchingimpliedbythecutoff scoresisenvy-free.

To require stabilityof the matching we need to rule out the possibilityofblockingwithanempty seat(i.e.wastefulness).This canbeachievedbyforcingthecutoff scoreofunsaturatedcolleges tobeminimum(i.e.zeroinourcase)bythefollowingconstraints, where fjisabinaryvariableindicatingwhethercjrejectsanystu- dentinthesolution.

fj·uj(ai,cj)E:cjC

xi j

cjC (7)

and

tjfj

(

s¯+1

)

cjC (8)

Our second IP is then constructed from feasibility constraints (1), (2), cutoff score constraints (5), (6), non-wastefulness con- straints (7),(8), andtheobjective function(4)enforcing student- optimality. We abbreviate this IP as SO-NW-CUT, referring to student-optimalnon-wastefulcutoff scores.

5Note in Ágoston et al. (2016) 1 was used instead of , but we found that the latter choice makes the constraints tighter and the solution more efficient.

(5)

Asanalternative,wecandropthenon-wastefulnessconstraints and enforce stability directly by obtaining the student-optimal envy-freematchingbyusingeitherofthefollowingobjectivefunc- tions.

min

cjC

tj (9)

or

max

(ai,cj)E

(

Kri j

)

·xi j (10)

with alarge enough constant K. When combinedwiththe feasi- bility constraints(1),(2),andcutoff score constraints(5),(6),we abbreviate the IP using objectivefunction (9)as MIN-CUT, refer- ring tominimumcutoff scores.Likewise, whencombined withthe feasibilityconstraints(1),(2),andcutoff scoreconstraints(5),(6), we abbreviate theIP using objectivefunction (10)asMSMR-CUT, referring to maximum size minimum rank cutoff scores. Note that asexplainedearlierbothMIN-CUTandMSMR-CUTwilloutputthe student-optimalstablematching.

Thebinarycutoff scoreformulation

We canmakethecutoff formulationsdiscretebyreplacingthe continuous cutoff variables by binary variables, as follows.For a collegecj,let Sjdenotethesetofscoresthe studentshavethere, i.e.Sj=

{

si j:(ai,cj)E

}

.SupposealsothattheelementsofSj are sorted in an increasing order, so Sj=

{

s1j,s2j,...,smj

}

, where skj<

skj+1. Foreach collegecj, let us now introduce

|

Sj

|

binary cutoff

variables:t1j,t2j,...,tmj withthefollowingconstraints.

xi jtkj foreach

(

ai,cj

)

E,si j=skj (11) and

tkjtkj+1 foreachk=1.

( |

Sj

|

1

)

(12)

Here, tkj=0means that the cutoff scoreat cj is greater than skj.Furthermore,(12)ensuresthemonotonicityofthebinarycutoff variablesand(11)requiresthatanapplicationcanonlybeaccepted ifthecutoff scoreisreached,correspondingtothecontinuouscon- straint(5).Regardingthesecondcontinuousconstraint(6)weadd thefollowingsimplerequations.

1≤

h:rihri j

xih+

(

1tkj

)

foreach

(

ai,cj

)

E,si j=skj (13)

Therefore,constraints(11),(12)and(13)replace(5)and(6),and togetherwiththefeasibilityconstraints(1),(2)theymakethelink betweenthebinarycutoff scoresandtheenvy-freematchings.

Toachieve stability,wecan usethesametechniquesasinthe continuous case, with slightly modified conditions and objective functions.

AsthefirstIP,insteadofusingEqs.(7)and(8),wecanenforce the cutoff score being zero foreach unfilled collegecj withthe followingconstraint.

(

1t1j

)

·uj(ai,cj)E:cjC

xi j

cjC (14)

ThecorrespondingbinaryIPisthenconstructedfromfeasibility constraints(1),(2),cutoff scoreconstraints(11),(12)and(13),non- wastefulness constraints (14), andthe objective function (4) that enforces student-optimality.WeabbreviatethisIPasSO-NW-BIN- CUT,referringtostudent-optimalnon-wastefulbinarycutoff scores.

Alternatively, we can drop again the non-wastefulness con- straints and enforce stability directly by obtaining the student- optimalenvy-freematchingbyusingeitherthefollowingobjective function

max

cjC,k=1.|Sj|

tkj (15)

or objective function (10). Combined with feasibility constraints (1),(2),andbinarycutoff scoreconstraints(11), (12)and(13) we obtain two IPs, the MIN-BIN-CUT and MSMR-BIN-CUT, referring tominimumbinary cutoff scores andmaximumsize minimumrank binary cutoff scores, both resulting in the student-optimal stable matching.

Envy-freeformulation

Itisalsopossibletoenforceenvy-freenesswithoutusingcutoff scores,asexplainedinÁgoston&Biró (2017),byusingthefollow- ingconstraints.

k:rik≤ri j

xikxh j

(

ai,cj

)

,

(

ah,cj

)

E,si jsh j (16)

Theaboveconstraintmeansthatifastudentah isallocatedto collegecj thenevery studentai,who hasascoreatcj atleastas highasahhas,mustalsobeallocatedtocjortoabettercollegeof her preference. Combined withthe feasibilityconstraints (1),(2), andobjective function (10) the solution obtainedis the student- optimalstablematching.WeabbreviatethisformulationasMSMR- EF,referringtomaximumsizeminimumrankenvy-free.

Summaryofformulations

Wesummarisetheconstraintsneededforall ofthe(mixed)IP formulationsthatwetestedforthebasicGale-Shapleycollegead- missionmodelinTable1.

2.3. Computationalresults

Wetookthe2008-Educatioinstanceafterbreakingthetiesran- domly,byconsideringonlythefacultyquotasandkeepingonlythe highestranked applicationof each student for every programme (i.e. the application for either the state funded or the privately fundedseat).FortheimplementationweusedAMPLwithGurobi.

Aswecan seeinTable2,themostefficientformulationsused cutoff scores.EventhoughSO-NW-CUTneededtwiceasmanyvari- ablesasSO-BB,itsruntimewassmallerbyamagnitude.Notethat verysimilarfindingswerereportedinDelormeetal.(2019).Com- paring the continuous and binary cutoff score formulations, SO- NW-CUTandSO-NW-BIN-CUT,wecanobservethatthecontinuous versionperformedslightlybetterforthisbasicmodel.Thesimple MSMR-EFformulationdidnot terminate,sowe excludedthisfor- mulationfromfurtherconsiderationforthemoregeneralmodels.

3. Modelswithties

In many nationwide college admission programmes the stu- dents are ranked based on their scores, andties may appear. In Hungary,for instance,the students can obtain integerpoints be- tween 0and500 (the maximumwas144 until 2007),so tiesdo occur.Whentiesarepresentthenonewaytoresolvethisissueis to break tiesby lotteries, asdone in Ireland (soa lucky student with480pointmaybeadmittedtolawschool,whilst anunlucky studentwiththesame scoremaybe rejected).However,lotteries areoftenseenunfair,soinsomecountries,suchasHungary(Biró

&Kiselgof,2015)andChile(Riosetal.,2014)equaltreatmentpoli- ciesare used,meaningthat students withthesamescore areei- therallacceptedorallrejected. Thispolicy giveswaytotworea- sonable variants when deciding aboutthe last group of students withoutwhom thequotaisunfilledandwithwhomthe quotais violated.Inthe restrictivepolicy,usedinHungary,thequotas are never violated, so this last group of students is always rejected, whilstinChiletheyuseapermissivepolicyandtheyalwaysadmit thislastgroupofstudents.Forinstance,iftherearethreestudents, a1,a2anda3,applyingtoaprogrammeofquota2withscores450,

(6)

K.C. Ágoston, P. Biró, E. Kováts et al. European Journal of Operational Research xxx (xxxx) xxx Table 1

The summary of (mixed) integer programming formulations for the classical Gale-Shapley model.

IP formulations (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14) (15) (16)

SO-BB

SO-NW-CUT

MIN-CUT

MSMR-CUT

SO-NW-BIN-CUT

MIN-BIN-CUT

MSMR-BIN-CUT

MSMR-EF

Table 2

The performance of (mixed) integer programming formulations for the classical Gale-Shapley model.

IP formulations #variables #constraints #non-0 elem. size(Kb) run time(s)

SO-BB 287,035 381,115 73,989,595 1,319,663 1139

SO-NW-CUT 291,935 673,050 2,463,808 69,464 81

MIN-CUT 289,485 668,150 2,169,423 64,254 5062

MSMR-CUT 289,485 668,150 2,169,423 69,846 2318

SO-NW-BIN-CUT 574,070 955,185 3,028,078 75,810 107 MIN-BIN-CUT 574,070 952,735 2,738,593 65,657 871 MSMR-BIN-CUT 574,070 952,735 2,738,593 66,467 4325

MSMR-EF n.a. n.a. n.a. 8,667,403 n.a.

443,and 443, respectively then in Hungary only a1 is admitted, whilst in Chile all three of them. In Ireland, a1 is admitted and theyusealotterytodecidewhethera2ora3willgetthelastseat.

3.1. Definitionsandpreliminaries

Stable matchingsforthecaseoftieswere definedthroughthe cutoff scores inBiró &Kiselgof(2015).Using cutoff scoresincase of ties makes the solution envy-free, meaning that no student ai may be rejected from collegecj if this collegeadmitted another studentwithascorelessthanorequaltothescoreofstudentai. Thisallocationconceptisalsocalledequaltreatment policy,since the admission of a student to a programme implies the admis- sion offertoall other studentswiththesame score.6 Hereagain, we have thesame equivalence betweenenvy-free matchings and matchinginducedbycutoff scores(Ágoston&Biró,2017),thatwe provehereforbeingself-contained.

Proposition1. Amatchingisenvy-freeforacollegeadmissionprob- lemwithtiesifandonlyifitisinducedbycutoff scores.

Proof. Givenan envy-free matchingM letusset thecutoff score of each collegeto be thescore ofthe weakest admitted student.

These cutoff scores will induce M. In the other direction, any matchinginducedbycutoff scoresisobviouslyenvy-free.

In this paperwe focus on the restrictive policy usedin Hun- gary,wherethestabilityofthematchingcanbedefinedbyadding anon-wastefulnessconditiontoenvy-freeness.Namely,amatching inducedbycutoff scoresisstableifnocollegecandecreaseitscut- off scorewithout violating itsquota,assumingthattheothercutoff scores remainthesame.We note thatthestabilityofa matching can equivalentlybedefinedbythelackofa setofblockingappli- cationsinvolvingonecollegeandasetofapplicantssuchthatthis set of applications would be accepted by all parties when com-

6Note that it is also possible to define envy-freeness and stability in a weaker form, where the rejection of a student is allowed when another student with the same score is accepted. These so-called weakly stable or weakly envy-free matchings are used in the Scottish resident scheme ( Irving & Manlove, 2008 ), and in a project allocation application at CEMS universities ( Ágoston et al., 2018b ), respectively.

pared to the applications of the matching considered. See more aboutthisconnectioninFleiner&Jankó (2014).7

Moreformally,fora collegecj anda setofapplicationsXE tothiscollegewedefine byChj(X)X thesetofapplicationsse- lected bycj. Forthe caseof strictrankings thechoice functionis simple,if

|

X

|

ujthenChj(X)=X,andif

|

X

|

>ujwhencjselects thetopujapplicantsaccordingtotheirscores.Fortiesweconsider twochoicefunctions,ChHj andChCj correspondingtotheHungarian restrictive andtheChilean permissivepolicies. First wenote that for

|

X

|

uj we haveChHj(X)=ChCj(X)=X, the question is what happensfor

|

X

|

>uj. Forcutoff scoretj let X≥tj denote the sub- setofapplicationsinX wherethestudentshavescoretjorhigher atcj.Inthe HungarianpolicyChHj(X)=Xtj such that

|

Xtj

|

uj and

|

Xtj1

|

>uj, thus the numberof students selected is never more than the quota, but the cutoff is minimal, i.e., decreasing thecutoff would implythe violationof thequota. Inthe Chilean policyChCj(X)=Xtj such that

|

Xtj

|

uj and

|

Xtj+1

|

<uj, thus thenumberofstudentsselectedisatleastasmuchasthequota, butthecutoff ismaximal,i.e.,increasingthecutoff wouldimply to haveemptyseats.

Biró &Kiselgof (2015)provedtwomaintheorems aboutstable matchings forcollegeadmissionswithties. Intheir first theorem they showed that a student-optimal anda student-pessimal sta- ble matching exist for both the restrictive policy (Hungary) and the permissive policy (Chile), where the cutoff scores are mini- mal / maximal, thus the matchings are the best / worst for all students,respectively. Furthermore,theyalsoproved theintuitive results that ifwe compare the student-optimal cutoff scores (or the student-pessimal ones) with respect to the three reasonable policies,namelytheHungarian(restrictive),theIrish(lottery),and theChilean (permissive),then theHungariancutoff scores areal- waysashighforeachcollegeastheChilean cutoff scoresandthe Irishcutoff scoresareinbetween.When consideringthestudent-

7There are many interesting properties that apply differently for the three poli- cies, as demonstrated in Fleiner & Jankó (2014) and Biró & Kiselgof (2015) . For in- stance, the corresponding choice functions are substitutable for all the three policies, but the irrelevance of rejected contracts property is violated for the Hungarian pol- icy, and the law of aggregate demand property is violated for both the Hungarian and Chilean policies. That is why neither of the latter two policies is strategyproof for the students, even though student-optimal solutions do exist.

(7)

optimal stable matching, it turns out to be also the student- optimalenvy-freematching,asthefollowingpropositiondescribes inÁgoston&Biró (2017).

Proposition 2. For the college admission problem with ties the student-optimal stable matching is also student-optimal among the envy-freematchingswithrespecttotheHungarian(orChilean)equal treatmentpolicy.

Proof. Assume bywayofcontradictionthatthereisan envy-free matching M,whereonestudent getsa betterassignment than in thestudent-optimalstablematchingMs.Withoutlossofgenerality we may also assume that Mis not Pareto-dominatedby another envy-free matching M withthesame property(i.e., whereevery student wouldgetatleast asgoodan assignment andsomebody wouldgetastrictlybetterassignment).ByProposition1weknow that Mis inducedby some cutoff scoret.Notethat Mcannot be stable,sincethatwouldcontradicttothestudent-optimalityofMs. Therefore thereisatleastone collegewhere thecutoff scorecan be decreasedsothatnewstudentswillbeadmitted there,butits quota isnot violated. Let the newcutoff score be t andlet the new matching implied be M. But then M is also envy-free and Pareto-dominatesM,acontradiction.

3.2. IPformulations

Firstwe describewhichofthe(M)IPformulationsfortheclas- sicalmodelworkunchangedforthecaseofties,andthenwegive somealternativeformulations.

PreviousIP-sthatworkforties

Fortherestrictive (Hungarian)equaltreatment policywe have to keep the original feasibility constraints (1), (2). Constraints (16) ensure envy-freeness immediately, and we can also achieve envy-freenessbyusingthesameconstraintswithcutoff scores((5), (6)),orwithbinarycutoff scores((11),(12)and(13)).

To secure stability, we can enforce the selection of the stu- dentoptimalenvy-freematchingbyusinganappropriateobjective function, asimplied by Proposition 2.Essentially all thestudent- optimal IP formulationsfor envy-freematchings that were previ- ously describedfortheGale-Shapleymodelwillleadtothissolu- tion, namelyMIN-CUT, MSMR-CUT,MIN-BIN-CUT, MSMR-BIN-CUT andMSMR-EF (however,weleave out thelatterfromthe simula- tionsduetoitsbadperformanceforthebasicmodel).

Alternativeformulations

Whenwewanttoavoidtheinclusionofobjectivefunctions,we mayalsoenforcestabilitydirectlybyaddingnewvariablesdi j and constraints,asdescribedinÁgostonetal.(2016).Here di j isabi- nary variableshowingwhetheraiwould beadmitted to cj ifthe cutoff scoredecreasedatcjbyone.

dik

(

1xi j

)

foreach

(

ai,cj

)

E,

(

ai,ck

)

E,rikri j (17) Condition (17) implies that di j can only be one if student ai preferscjtohercurrentassignment.

tj−1≤

1−di j

·

(

s¯+1

)

+si j foreach

(

ai,cj

)

E (18)

where (18)isamodification of(5),implyingthat di j can onlybe oneifaireachesthecutoff score,whendecreasedbyone.

Now,withthesenewvariableswecanalsoformulatethenon- wastefulnesscondition, where fjwillagainindicatewhethercjis essentially full,meaning thatits cutoff scorecannot bedecreased withoutviolatingitsquota.Besideskeeping(8),wemodify(7)into thefollowingcondition.

fj·

(

uj+1

)

(ai,cj)E:cjC

(

xi j+di j

)

cjC (19)

Tosummarise,togetherwiththebasicfeasibilityconditions(1), (2),and cutoff score constraints(5), (6),satisfaction of Eqs. (17), (18),(8),(19)resultinastablematchingwithrespecttotheHun- garianequal treatment policy. Tofind the student-optimalstable matchinginthiscontext,wemayagainuseobjectivefunction(10). WedenotethisformulationbySO-H-NW-CUT.

Binarycutoffs

Finally,wecanagainusebinaryvariablesforthecutoffs.Keep- ingthefeasibilityconstraints(1),(2),cutoff scoreconstraints(11), (12)and(13),we modifythenon-wastefulnessconstraints(14)as follows.

(

1t1j

)

·

(

uj+1

)

(ai,cj)E:cjC

xi j+di j

cjC (20)

Wekeep(17)andmodify(18)tothefollowingconstraints.

di jtik+1tikforeach

(

ai,cj

)

E,si j=skj (21) Theseconstraintsmeanthatifdi j=1thenthescoreoftheap- plicantis justbelowof thecutoff score. Using objective function (10), with feasibility constraints (1), (2), cutoff score constraints (11),(12)and(13),non-wastefulnessconstraints(17),(20)and(21), wegettheformulationdenotedbySO-H-NW-BIN-CUT.

3.3. Simulations

Weconsideredthe2008-Educationinstancewithtiesbytaking intoaccountonlythefacultyquotas andkeepingonlythehighest ranked applicationofeach student forevery programme(i.e. the applicationforeitherastatefundedorprivatelyfundedseat).The resultsare summarised inTable 3.We can observethat the best binaryIP formulationhas outperformed the best continuousfor- mulation.

4. Policycomparisonforties

First we set up an IP formulation for the Chilean policy,and then we compare the solutions obtainedby the Hungarian, Irish andChileanpoliciesinthe2008-Educatioinstance.

4.1. IPfortheChileanpolicy

Recall that here we admit the last group of students, with whom the quota is violated, but without whom some seats re- mainunfilled. Alternatively, we mayrequirethat afterdecreasing the cutoff score atany collegethe number ofadmitted students wouldbe strictly lessthan its quota.Toachieve thisin themost effectiveway, we usea similar formulationas SO-H-NW-CUTfor theHungarianpolicy.

Thecutoff scoreformulation

Heredi j isabinaryvariableshowingthataiisadmitted tocj, butwouldberejectedifthecutoff scoreincreasedatcjbyone.

di jxi j foreach

(

ai,cj

)

E (22) Conditions(22)implythat di j canonly beone ifstudentai is admittedtocjintheactualmatching.

di j−1

·

(

s¯+1

)

+si jtjforeach

(

ai,cj

)

E (23)

where(23)impliesthat di j willonlybeone ifai isrejectedifthe cutoff increasesbyone.

Now, with these variables we can also formulate the non- wastefulness condition, where fj will againindicates whether cj is essentially full, meaning that there would be empty seats if

Hivatkozások

KAPCSOLÓDÓ DOKUMENTUMOK

So far, Prime Minister Fico has proved tactically astute in navigating such contradictions without alienating any of the principal players (Germany, France, and the

a) The Maastricht convergence criterion on the exchange rate stability could be modified or at least flexibly interpreted in view of changed circumstances at that time (newly

With the aid of the virtual sensors we are able to make the distance measurements in the virtual model, find the closest operator for every robot and find their ID, which can be sent

Because of these changes in American immigration restrictions, Russians came to this country in large numbers in 1950-51.. No large scale exodus occurred until the late 1980s from

Keywords: folk music recordings, instrumental folk music, folklore collection, phonograph, Béla Bartók, Zoltán Kodály, László Lajtha, Gyula Ortutay, the Budapest School of

It is crucial to define conflict and crisis, and it is even so nowadays, when it is essential for the effective response from the European international actors for European

The ultimate goal of this line of work is to suggest a solution concept for the college admission problem where ties and common quotas are also present, together with providing

The values determined with the FRAP assay basically followed the tendencies of the TPC: highest FRAP antioxidant capacity was de- termined in green cones, followed by mature, and