├── .github └── workflows │ ├── main.yml │ ├── tests-macos.yml │ └── tests.yml ├── .gitignore ├── .travis.yml ├── CMakeLists.txt ├── COPYING.LESSER ├── Doxyfile ├── LICENSE ├── README.md ├── appveyor.yml ├── benchs ├── optim │ ├── benches.txt │ ├── benchmark_optim.cpp │ ├── benchmark_optim.gnuplot │ ├── benchs-minlp │ │ ├── cvxnonsep_normcon20.bch │ │ ├── cvxnonsep_nsig20.bch │ │ ├── cvxnonsep_pcon20.bch │ │ ├── eg_all_s.bch │ │ ├── ex1252a.bch │ │ ├── ex1263a.bch │ │ ├── ex1264a.bch │ │ ├── ex1265a.bch │ │ ├── gear.bch │ │ ├── gear3.bch │ │ ├── gear4.bch │ │ ├── jit1.bch │ │ ├── nsv16.bch │ │ ├── nvs01.bch │ │ ├── nvs05.bch │ │ ├── nvs08.bch │ │ ├── nvs20.bch │ │ ├── nvs21.bch │ │ ├── nvs22.bch │ │ ├── portfol_roundlot.bch │ │ ├── prob10.bch │ │ ├── spring.bch │ │ ├── st_e32.bch │ │ ├── st_e36.bch │ │ ├── st_e38.bch │ │ ├── st_e40.bch │ │ └── windfac.bch │ ├── benchs-unconstrainedoptim │ │ ├── ackley10.bch │ │ ├── ackley100.bch │ │ ├── ackley30.bch │ │ ├── ackley5.bch │ │ ├── ackley50.bch │ │ ├── alpine1.bch │ │ ├── alpine10.bch │ │ ├── alpine100.bch │ │ ├── alpine20.bch │ │ ├── alpine30.bch │ │ ├── alpine5.bch │ │ ├── alpine50.bch │ │ ├── amgm10.bch │ │ ├── amgm2.bch │ │ ├── amgm5.bch │ │ ├── beale.bch │ │ ├── bohachevsky10.bch │ │ ├── bohachevsky100.bch │ │ ├── bohachevsky20.bch │ │ ├── bohachevsky30.bch │ │ ├── bohachevsky50.bch │ │ ├── dixon-price-5.bch │ │ ├── dixon-price10.bch │ │ ├── dixon-price100.bch │ │ ├── dixon-price20.bch │ │ ├── dixon-price30.bch │ │ ├── dixon-price40.bch │ │ ├── dixon-price5.bch │ │ ├── dixon-price50.bch │ │ ├── egg-holder-3.bch │ │ ├── egg-holder-4.bch │ │ ├── egg-holder-5.bch │ │ ├── ex4_1_5.bch │ │ ├── ex8_1_1.bch │ │ ├── ex8_1_2.bch │ │ ├── ex8_1_4-1.bch │ │ ├── ex8_1_4.bch │ │ ├── ex8_1_6-inf.bch │ │ ├── ex8_1_6.bch │ │ ├── ex8_6_2.bch │ │ ├── exuncons1.bch │ │ ├── f1.bch │ │ ├── f2.bch │ │ ├── griewank10.bch │ │ ├── griewank100.bch │ │ ├── griewank30.bch │ │ ├── griewank5.bch │ │ ├── griewank50.bch │ │ ├── himmelblau.bch │ │ ├── infinity10.bch │ │ ├── infinity100.bch │ │ ├── infinity20.bch │ │ ├── infinity30.bch │ │ ├── infinity50.bch │ │ ├── keane-2.bch │ │ ├── keane-3.bch │ │ ├── keane-4.bch │ │ ├── levy10.bch │ │ ├── levy100.bch │ │ ├── levy13-1.bch │ │ ├── levy13.bch │ │ ├── levy2.bch │ │ ├── levy20.bch │ │ ├── levy30.bch │ │ ├── levy50.bch │ │ ├── michalewicz-10.bch │ │ ├── michalewicz-11.bch │ │ ├── michalewicz-12.bch │ │ ├── michalewicz-13.bch │ │ ├── michalewicz-14.bch │ │ ├── michalewicz-15.bch │ │ ├── michalewicz-16.bch │ │ ├── michalewicz-17.bch │ │ ├── michalewicz-18.bch │ │ ├── michalewicz-19.bch │ │ ├── michalewicz-20.bch │ │ ├── michalewicz-25.bch │ │ ├── michalewicz-30.bch │ │ ├── michalewicz-35.bch │ │ ├── michalewicz-40.bch │ │ ├── michalewicz-50.bch │ │ ├── mishra01-10.bch │ │ ├── mishra01-2.bch │ │ ├── mishra02-10.bch │ │ ├── multimodal10.bch │ │ ├── paviani10.bch │ │ ├── paviani20.bch │ │ ├── paviani30.bch │ │ ├── paviani32.bch │ │ ├── paviani35.bch │ │ ├── paviani40.bch │ │ ├── quintic10.bch │ │ ├── quintic12.bch │ │ ├── quintic15.bch │ │ ├── quintic16.bch │ │ ├── quintic20.bch │ │ ├── quintic30.bch │ │ ├── rana10.bch │ │ ├── rana2.bch │ │ ├── rana3.bch │ │ ├── rana4.bch │ │ ├── rana5.bch │ │ ├── rastrigin10.bch │ │ ├── rastrigin100.bch │ │ ├── rastrigin30.bch │ │ ├── rastrigin5.bch │ │ ├── rastrigin50.bch │ │ ├── rosenbrock10.bch │ │ ├── rosenbrock100-inf.bch │ │ ├── rosenbrock2.bch │ │ ├── rosenbrock20-inf.bch │ │ ├── rosenbrock20.bch │ │ ├── rosenbrock30-inf.bch │ │ ├── rosenbrock50-inf.bch │ │ ├── schaffer2.bch │ │ ├── schaffer5.bch │ │ ├── schafferf6.bch │ │ ├── schafferf7-10.bch │ │ ├── schafferf7-100.bch │ │ ├── schafferf7-20.bch │ │ ├── schafferf7-30.bch │ │ ├── schafferf7-5.bch │ │ ├── schafferf7-50.bch │ │ ├── schwefel-2-10.bch │ │ ├── schwefel-2-100.bch │ │ ├── schwefel-2-11.bch │ │ ├── schwefel-2-12.bch │ │ ├── schwefel-2-13.bch │ │ ├── schwefel-2-20.bch │ │ ├── schwefel-2-30.bch │ │ ├── schwefel-2-5.bch │ │ ├── schwefel-2-50.bch │ │ ├── schwefel-2-60.bch │ │ ├── schwefel-2-70.bch │ │ ├── schwefel-2-80.bch │ │ ├── schwefel-2-90.bch │ │ ├── schwefel10.bch │ │ ├── schwefel11.bch │ │ ├── schwefel12.bch │ │ ├── schwefel15.bch │ │ ├── schwefel20.bch │ │ ├── schwefel30.bch │ │ ├── schwefel5.bch │ │ ├── shekel-2.bch │ │ ├── shekel-3.bch │ │ ├── shekel-4.bch │ │ ├── shekel-5.bch │ │ ├── shifted-rastrigin-10.bch │ │ ├── sineenveloppe10.bch │ │ ├── sineenveloppe100.bch │ │ ├── sineenveloppe2.bch │ │ ├── sineenveloppe20.bch │ │ ├── sineenveloppe30.bch │ │ ├── sineenveloppe5.bch │ │ ├── sineenveloppe50.bch │ │ ├── sixhumcamelback.bch │ │ ├── sodp10.bch │ │ ├── sodp2.bch │ │ ├── sodp20.bch │ │ ├── sodp30.bch │ │ ├── sphere10.bch │ │ ├── sphere100.bch │ │ ├── sphere1000.bch │ │ ├── sphere30.bch │ │ ├── sphere50.bch │ │ ├── sphere500.bch │ │ ├── stretchedv10.bch │ │ ├── stretchedv12.bch │ │ ├── stretchedv2.bch │ │ ├── styblinski-tang10.bch │ │ ├── styblinski-tang2.bch │ │ ├── styblinski-tang5.bch │ │ ├── styblinski-tang6.bch │ │ ├── styblinski-tang7.bch │ │ ├── xinshe-yang10.bch │ │ ├── xinshe-yang100.bch │ │ ├── xinshe-yang2.bch │ │ ├── xinshe-yang20.bch │ │ ├── xinshe-yang30.bch │ │ └── xinshe-yang50.bch │ ├── blowup │ │ ├── ex2_1_7.bch │ │ ├── ex2_1_9bis.bch │ │ ├── ex6_1_1.bch │ │ ├── ex6_2_13.bch │ │ ├── ex7_2_4.bch │ │ ├── ex7_2_8.bch │ │ ├── ex7_3_5.bch │ │ ├── ex8_2_1.bch │ │ ├── ex8_4_4-1.bch │ │ ├── ex8_4_4.bch │ │ ├── ex8_4_5.bch │ │ ├── ex8_4_6.bch │ │ ├── ex8_4_6bis.bch │ │ ├── ex8_4_6ter.bch │ │ ├── ex8_5_1-1.bch │ │ ├── ex8_5_1.bch │ │ ├── ex8_5_2.bch │ │ ├── ex8_5_6.bch │ │ ├── hhfair.bch │ │ ├── hhfair1.bch │ │ ├── hydro.bch │ │ ├── meanvar.bch │ │ ├── process.bch │ │ ├── ramsey.bch │ │ └── ramseybis.bch │ ├── coconutbenchmark-library2 │ │ ├── 3pk-borne.nl │ │ ├── 3pk.nl │ │ ├── aircraftb.nl │ │ ├── avgasa.nl │ │ ├── avgasb.nl │ │ ├── avion2.nl │ │ ├── batch.nl │ │ ├── brownal.nl │ │ ├── catena.nl │ │ ├── concon.nl │ │ ├── core1.nl │ │ ├── cresc4.nl │ │ ├── dipigri.nl │ │ ├── disc2.nl │ │ ├── discs.nl │ │ ├── dixchlng.nl │ │ ├── dnieper.nl │ │ ├── dualc1.nl │ │ ├── dualc2.nl │ │ ├── dualc5.nl │ │ ├── dualc8.nl │ │ ├── eigencco.nl │ │ ├── eigmaxc.nl │ │ ├── eigminc.nl │ │ ├── ex2_1_7.nl │ │ ├── ex2_1_8.nl │ │ ├── fccu.nl │ │ ├── genhs28.nl │ │ ├── haifas.nl │ │ ├── haldmads.nl │ │ ├── himmelbk.nl │ │ ├── hs056.nl │ │ ├── hs070.nl │ │ ├── hs087.nl │ │ ├── hs088.nl │ │ ├── hs089.nl │ │ ├── hs090.nl │ │ ├── hs091.nl │ │ ├── hs092.nl │ │ ├── hs093.nl │ │ ├── hs095.nl │ │ ├── hs096.nl │ │ ├── hs097.nl │ │ ├── hs098.nl │ │ ├── hs099.nl │ │ ├── hs100.nl │ │ ├── hs100lnp.nl │ │ ├── hs100mod.nl │ │ ├── hs101.nl │ │ ├── hs102.nl │ │ ├── hs103.nl │ │ ├── hs104.nl │ │ ├── hs106.nl │ │ ├── hs107.nl │ │ ├── hs108.nl │ │ ├── hs109.nl │ │ ├── hs110.nl │ │ ├── hs111.nl │ │ ├── hs112.nl │ │ ├── hs113.nl │ │ ├── hs114.nl │ │ ├── hs116.nl │ │ ├── hs117.nl │ │ ├── hs118.nl │ │ ├── hs119.nl │ │ ├── hs21mod.nl │ │ ├── launch.nl │ │ ├── loadbal.nl │ │ ├── lotschd.nl │ │ ├── makela3.nl │ │ ├── makela4.nl │ │ ├── matrix2.nl │ │ ├── mconcon.nl │ │ ├── mistake.nl │ │ ├── model_opti.nl │ │ ├── modele_opti.nl │ │ ├── odfits.nl │ │ ├── optcntrl.nl │ │ ├── optmass.nl │ │ ├── optprloc.nl │ │ ├── orthregb.nl │ │ ├── orthrege.nl │ │ ├── pentagon.nl │ │ ├── polak1.nl │ │ ├── polak2.nl │ │ ├── polak3.nl │ │ ├── polak4.nl │ │ ├── polak5.nl │ │ ├── polak6.nl │ │ ├── portfl1.nl │ │ ├── prodpl0.nl │ │ ├── prodpl1.nl │ │ ├── rk23.nl │ │ ├── robot.nl │ │ ├── s365mod.nl │ │ ├── ssnlbeam.nl │ │ ├── synthes1.nl │ │ └── zigzag.nl │ ├── easy │ │ ├── ackley_5.bch │ │ ├── chance.bch │ │ ├── ex14_1_1.bch │ │ ├── ex14_1_2.bch │ │ ├── ex14_1_3.bch │ │ ├── ex14_1_4.bch │ │ ├── ex14_1_5.bch │ │ ├── ex14_1_8.bch │ │ ├── ex14_1_9.bch │ │ ├── ex14_2_1.bch │ │ ├── ex14_2_2.bch │ │ ├── ex14_2_4.bch │ │ ├── ex14_2_5.bch │ │ ├── ex14_2_6.bch │ │ ├── ex14_2_8.bch │ │ ├── ex14_2_9.bch │ │ ├── ex2_1_1.bch │ │ ├── ex2_1_10.bch │ │ ├── ex2_1_2.bch │ │ ├── ex2_1_3.bch │ │ ├── ex2_1_4.bch │ │ ├── ex2_1_5.bch │ │ ├── ex2_1_5bis.bch │ │ ├── ex2_1_6.bch │ │ ├── ex3_1_1.bch │ │ ├── ex3_1_2.bch │ │ ├── ex3_1_3.bch │ │ ├── ex3_1_3bis.bch │ │ ├── ex3_1_4.bch │ │ ├── ex4_1_5.bch │ │ ├── ex4_1_8.bch │ │ ├── ex4_1_9.bch │ │ ├── ex5_2_2_case1.bch │ │ ├── ex5_2_2_case2.bch │ │ ├── ex5_2_4.bch │ │ ├── ex5_4_2.bch │ │ ├── ex5_4_2bis.bch │ │ ├── ex5_4_3.bch │ │ ├── ex6_1_2.bch │ │ ├── ex7_2_1.bch │ │ ├── ex7_2_10.bch │ │ ├── ex7_2_1bis.bch │ │ ├── ex7_2_2.bch │ │ ├── ex7_2_3.bch │ │ ├── ex7_2_3bis.bch │ │ ├── ex7_2_5.bch │ │ ├── ex7_2_6.bch │ │ ├── ex7_2_7.bch │ │ ├── ex7_3_1.bch │ │ ├── ex7_3_2.bch │ │ ├── ex7_3_3.bch │ │ ├── ex7_3_6.bch │ │ ├── ex8_1_1.bch │ │ ├── ex8_1_2.bch │ │ ├── ex8_1_4.bch │ │ ├── ex8_1_5.bch │ │ ├── ex8_1_6.bch │ │ ├── ex8_1_6bis.bch │ │ ├── ex8_1_7.bch │ │ ├── ex8_1_8.bch │ │ ├── ex8_1_8bis.bch │ │ ├── ex8_4inf-1.bch │ │ ├── ex8_5_3-1.bch │ │ ├── ex8_5_3.bch │ │ ├── ex8_5_4.bch │ │ ├── ex8_5_5-1.bch │ │ ├── ex8_5_5.bch │ │ ├── ex8_5_6-1.bch │ │ ├── ex9_1_1.bch │ │ ├── ex9_1_10.bch │ │ ├── ex9_1_2.bch │ │ ├── ex9_1_4.bch │ │ ├── ex9_1_5.bch │ │ ├── ex9_1_8.bch │ │ ├── ex9_2_1.bch │ │ ├── ex9_2_2.bch │ │ ├── ex9_2_3.bch │ │ ├── ex9_2_4.bch │ │ ├── ex9_2_5.bch │ │ ├── ex9_2_6.bch │ │ ├── ex9_2_7.bch │ │ ├── ex9_2_8.bch │ │ ├── exbaron.bch │ │ ├── exinfinity2.bch │ │ ├── exinfinity3.bch │ │ ├── exp40.bch │ │ ├── f1.bch │ │ ├── griewank.bch │ │ ├── himmel11.bch │ │ ├── hockschittkowski.mbx │ │ ├── house.bch │ │ ├── hs071.bch │ │ ├── m4wd.bch │ │ ├── pressure-vessel.bch │ │ ├── rastrigin.bch │ │ ├── rosenbrock.bch │ │ ├── rosenbrock10.bch │ │ ├── schaffer.bch │ │ ├── ship-1.bch │ │ ├── test_infinity1.bch │ │ ├── test_infinity2.bch │ │ └── wall.bch │ ├── hard │ │ ├── chem-1.bch │ │ ├── chem.bch │ │ ├── chembis.bch │ │ ├── ex6_1_3.bch │ │ ├── ex6_2_10.bch │ │ ├── ex8_5_1bis.bch │ │ └── sambal.bch │ ├── medium │ │ ├── alkyl.bch │ │ ├── alkylbis.bch │ │ ├── bearing.bch │ │ ├── ex14_2_3.bch │ │ ├── ex14_2_7.bch │ │ ├── ex2_1_7.bch │ │ ├── ex2_1_8.bch │ │ ├── ex2_1_9.bch │ │ ├── ex2_1_9fact.bch │ │ ├── ex5_2_2_case3.bch │ │ ├── ex5_3_2.bch │ │ ├── ex6_1_3bis.bch │ │ ├── ex6_1_4.bch │ │ ├── ex6_2_11.bch │ │ ├── ex6_2_12.bch │ │ ├── ex6_2_14.bch │ │ ├── ex6_2_6.bch │ │ ├── ex6_2_8.bch │ │ ├── ex6_2_9.bch │ │ ├── ex7_3_4.bch │ │ ├── ex7_3_4bis.bch │ │ ├── ex7_3_5bis.bch │ │ ├── ex8_4_4bis.bch │ │ ├── ex8_5_2_1.bch │ │ ├── haverly.bch │ │ ├── himmel16.bch │ │ ├── launch.bch │ │ ├── like-1.bch │ │ ├── like.bch │ │ ├── schwefel5-abs.bch │ │ └── schwefel5.bch │ ├── others │ │ ├── dualc1.bch │ │ ├── ex14_1_6.bch │ │ ├── ex8_4_5-1.bch │ │ ├── ex8_4_5bis.bch │ │ ├── notes.txt │ │ ├── polygon25.bch │ │ ├── ship.bch │ │ ├── test_infinity3.bch │ │ └── test_infinity4.bch │ └── unsolved │ │ ├── abel.bch │ │ ├── abelbis-1.bch │ │ ├── abelbis.bch │ │ ├── abelter-1.bch │ │ ├── chakra-1.bch │ │ ├── chakra.bch │ │ ├── chenery-1.bch │ │ ├── chenery.bch │ │ ├── ex14_1_7.bch │ │ ├── ex5_2_5.bch │ │ ├── ex5_3_3.bch │ │ ├── ex5_4_4.bch │ │ ├── ex6_2_5.bch │ │ ├── ex6_2_7.bch │ │ ├── ex7_2_9.bch │ │ ├── ex8_1_3.bch │ │ ├── ex8_2_4.bch │ │ ├── ex8_4_1.bch │ │ ├── ex8_4_1bis.bch │ │ ├── ex8_4_2.bch │ │ ├── ex8_4_2bis.bch │ │ ├── ex8_4_8.bch │ │ ├── ex8_6_2.bch │ │ ├── harker.bch │ │ ├── immun.bch │ │ ├── least.bch │ │ ├── linear.bch │ │ ├── pollut.bch │ │ ├── prolog.bch │ │ ├── qp1-1.bch │ │ ├── qp1.bch │ │ ├── qp2.bch │ │ ├── srcpm-1.bch │ │ ├── srcpm.bch │ │ ├── water-abs.bch │ │ ├── water.bch │ │ ├── water1-abs.bch │ │ └── water1.bch ├── scatter_plot.gnuplot └── solver │ ├── non-polynom │ ├── AOL-legentil.bch │ ├── Bratu-0030.bch │ ├── Bratu-0050.bch │ ├── Bratu-0060.bch │ ├── Bratu-0065.bch │ ├── Bratu-0070.bch │ ├── Bratu-0080.bch │ ├── Bratu-0090.bch │ ├── Bratu-0100.bch │ ├── Bratu-0120.bch │ ├── Bratu-0150.bch │ ├── Bratu-0175.bch │ ├── Bratu-0180.bch │ ├── Bratu-0200.bch │ ├── Bratu-0210.bch │ ├── Bratu-1000.bch │ ├── Design.bch │ ├── Designbis.bch │ ├── Designsp.bch │ ├── Directkin.bch │ ├── Kin1.bch │ ├── Num-analysis92191.bch │ ├── SjirkBoon.bch │ ├── Trigexp1-020.bch │ ├── Trigexp1-022.bch │ ├── Trigexp1-024.bch │ ├── Trigexp1-030.bch │ ├── Trigexp1-100.bch │ ├── Trigexp2-11.bch │ ├── Trigexp2-13.bch │ ├── Trigexp2-13sp.bch │ ├── Trigexp2-15.bch │ ├── Trigexp2-17.bch │ ├── Trigexp2-19.bch │ ├── Trigexp2-21.bch │ ├── Trigexp2-23.bch │ ├── Trigexp2-3.bch │ ├── Trigexp2-5.bch │ ├── Trigexp2-7.bch │ ├── Trigexp2-9.bch │ ├── Trigo1-0005.bch │ ├── Trigo1-0005sp.bch │ ├── Trigo1-0006.bch │ ├── Trigo1-0010.bch │ ├── Trigo1-0010m1.bch │ ├── Trigo1-0010sp.bch │ ├── Trigo1-0012.bch │ ├── Trigo1-0013.bch │ ├── Trigo1-0014.bch │ ├── Trigo1-0015.bch │ ├── Trigo1-0016.bch │ ├── Trigo1-0017.bch │ ├── Trigo1-0018.bch │ ├── Trigo1-0020sp.bch │ ├── Trigo1-0030sp.bch │ ├── Trigo1-0031sp.bch │ ├── Trigo1-0032sp.bch │ ├── Trigo1-0033sp.bch │ ├── Trigo1-0034sp.bch │ ├── Trigo1-0035sp.bch │ ├── Trigo1-0040sp.bch │ ├── Trigo1-0050.bch │ ├── Trigo1-0050sp.bch │ ├── Trigo1-0100sp.bch │ ├── Trigo1-1000sp.bch │ ├── Trigonometric-05.bch │ ├── Troesch10.bch │ ├── Troesch20.bch │ ├── trigonometric-05.bch │ └── troesch10-sh.bch │ ├── others │ ├── cyclohexan3D.bch │ ├── ex14-2-3.bch │ ├── exnewton.bch │ ├── hayes1.bch │ ├── henon19.qpr │ ├── henon23.qpr │ ├── kolev36.bch │ ├── synthesis.bch │ ├── transistor-icse.bch │ └── transistor.bch │ └── polynom │ ├── Bellido.bch │ ├── Biggs-exp6.bch │ ├── Brent-10.bch │ ├── Brent-8.bch │ ├── Brown-05.bch │ ├── Brown-06.bch │ ├── Brown-07.bch │ ├── Brown-07sp.bch │ ├── Brown-10-5.bch │ ├── Brown-10.bch │ ├── Brown-10sp.bch │ ├── Brown-11.bch │ ├── Brown-12.bch │ ├── Brown-15.bch │ ├── Brown-18.bch │ ├── Brown-19.bch │ ├── Brown-20-1.bch │ ├── Brown-20.bch │ ├── Brown-30-1.bch │ ├── Brown-30.bch │ ├── Brown-30sp.bch │ ├── BroydenBanded-010.bch │ ├── BroydenBanded-012.bch │ ├── BroydenBanded-014.bch │ ├── BroydenBanded-016.bch │ ├── BroydenBanded-020.bch │ ├── BroydenBanded-100.bch │ ├── BroydenBanded-1000.bch │ ├── BroydenBanded-120.bch │ ├── BroydenBanded-140.bch │ ├── BroydenBanded-200.bch │ ├── BroydenTri-0010.bch │ ├── BroydenTri-0020.bch │ ├── BroydenTri-0022.bch │ ├── BroydenTri-0030.bch │ ├── BroydenTri-0060.bch │ ├── BroydenTri-0090.bch │ ├── BroydenTri-0100.bch │ ├── BroydenTri-1000.bch │ ├── Butcher8-a.bch │ ├── Butcher8-b.bch │ ├── Caprasse.bch │ ├── CountercurrentReactors-20.bch │ ├── CountercurrentReactors-22.bch │ ├── CountercurrentReactors-30.bch │ ├── CountercurrentReactors-32.bch │ ├── CountercurrentReactors-34.bch │ ├── CountercurrentReactors-40.bch │ ├── CountercurrentReactors-42.bch │ ├── CountercurrentReactors-43.bch │ ├── CountercurrentReactors-44.bch │ ├── CountercurrentReactors2-10.bch │ ├── CountercurrentReactors2-12.bch │ ├── CountercurrentReactors2-14.bch │ ├── CountercurrentReactors2-16.bch │ ├── CountercurrentReactors2-18.bch │ ├── CountercurrentReactors2-20.bch │ ├── CountercurrentReactors2-22.bch │ ├── CountercurrentReactors2-24.bch │ ├── CountercurrentReactors2-26.bch │ ├── CountercurrentReactors2-28.bch │ ├── CountercurrentReactors2-30.bch │ ├── CountercurrentReactors2-6.bch │ ├── CountercurrentReactors2-8.bch │ ├── CountercurrentReactors2-9.bch │ ├── Dietmaier.bch │ ├── Dipole2.bch │ ├── Discrete-Integral-20.bch │ ├── Discrete-Integral-6.bch │ ├── Discrete-Integralf2-10.bch │ ├── Discrete-Integralf2-11.bch │ ├── Discrete-Integralf2-12.bch │ ├── Discrete-Integralf2-13.bch │ ├── Discrete-Integralf2-14.bch │ ├── Discrete-Integralf2-15.bch │ ├── Discrete-Integralf2-16.bch │ ├── Discrete-Integralf2-17.bch │ ├── Discrete-Integralf2-18.bch │ ├── Discrete-Integralf2-19.bch │ ├── Discrete-Integralf2-20.bch │ ├── Discrete-Integralf2-21.bch │ ├── Discrete-Integralf2-6.bch │ ├── Discrete-Integralf2-7.bch │ ├── Discrete-Integralf2-8.bch │ ├── Discrete-Integralf2-9.bch │ ├── DiscreteBoundary-0020.bch │ ├── DiscreteBoundary-0040.bch │ ├── DiscreteBoundary-0100.bch │ ├── DiscreteBoundary-0200.bch │ ├── DiscreteBoundary-1000.bch │ ├── EQCombustion.bch │ ├── Eco10.bch │ ├── Eco11.bch │ ├── Eco12.bch │ ├── Eco9.bch │ ├── Eiger-0030.bch │ ├── Eiger-0060.bch │ ├── Eiger-0100.bch │ ├── Eiger-1000.bch │ ├── Ex14-2-3.bch │ ├── ExtendedFreud-0002.bch │ ├── ExtendedFreud-0010.bch │ ├── ExtendedFreud-0020.bch │ ├── ExtendedFreud-0040.bch │ ├── ExtendedFreud-0100.bch │ ├── ExtendedFreud-1000.bch │ ├── ExtendedWood-04.bch │ ├── ExtendedWood-08.bch │ ├── ExtendedWood-16.bch │ ├── Fourbar-icse.bch │ ├── Fourbar.bch │ ├── Fourbarbis-1.bch │ ├── Fourbarbis.bch │ ├── Fredtest.bch │ ├── Geneig-1.bch │ ├── Geneig-icse.bch │ ├── Geneig.bch │ ├── Geneigbis.bch │ ├── I5-1.bch │ ├── I5.bch │ ├── I5bis.bch │ ├── Katsura-12.bch │ ├── Katsura-14.bch │ ├── Katsura-15.bch │ ├── Katsura-16.bch │ ├── Katsura-17.bch │ ├── Katsura-18.bch │ ├── Katsura-20.bch │ ├── Katsura-25.bch │ ├── Katsura-30.bch │ ├── Katsura-40.bch │ ├── Katsura-50.bch │ ├── Katsurabis-14.bch │ ├── Neveu1.bch │ ├── Osborne1.bch │ ├── Pramanik.bch │ ├── Prolog-icse.bch │ ├── Prolog.bch │ ├── Redeco10.bch │ ├── Redeco11.bch │ ├── Redeco8.bch │ ├── Redeco9.bch │ ├── Rose.bch │ ├── Synthesis.bch │ ├── Virasoro-icse.bch │ ├── Virasoro-prod.bch │ ├── Virasoro-prod0.bch │ ├── Virasoro-prodmin.bch │ ├── Virasoro.bch │ ├── brown5a.bch │ ├── brown5b.bch │ ├── ponts-geo.bch │ ├── yamamura │ ├── Yamamua1-0010.bch │ ├── Yamamua1-0012.bch │ ├── Yamamua1-0012sp.bch │ ├── Yamamua1-0014.bch │ ├── Yamamua1-0014sp.bch │ ├── Yamamua1-0016.bch │ ├── Yamamua1-0016sp.bch │ ├── Yamamua1-0018sp.bch │ ├── Yamamua1-0022sp.bch │ ├── Yamamua1-0024sp.bch │ ├── Yamamua1-0026sp.bch │ ├── Yamamua1-0028sp.bch │ ├── Yamamua1-0030sp.bch │ ├── Yamamua1-0032sp.bch │ ├── Yamamua1-0050sp.bch │ ├── Yamamua1-0100sp.bch │ ├── Yamamua1-0300sp.bch │ ├── Yamamua1-0400sp.bch │ ├── Yamamua1-0500sp.bch │ ├── Yamamua1-0600sp.bch │ ├── Yamamua1-0700sp.bch │ ├── Yamamua1-0800sp.bch │ ├── Yamamua1-0900sp.bch │ ├── Yamamura1-0020.bch │ ├── Yamamura1-0020sp.bch │ ├── Yamamura1-0040.bch │ ├── Yamamura1-0040sp.bch │ ├── Yamamura1-0080.bch │ ├── Yamamura1-0080sp.bch │ ├── Yamamura1-0200.bch │ ├── Yamamura1-0200sp.bch │ ├── Yamamura1-0400.bch │ └── Yamamura1-1000sp.bch │ └── yamamura8a.bch ├── cmake.utils ├── CMakeFindJavaCommon.cmake ├── FindCppUnit.cmake ├── FindIpOpt.cmake ├── FindJava.cmake ├── cmake_uninstall.cmake.in ├── ibex-dev-utils.cmake ├── ibex-gen-pkgconfig.cmake └── ibex-install-3rd.cmake ├── doc ├── Makefile ├── Test_LP_kleemin3.pdf ├── _build │ └── html │ │ └── ignore.txt ├── conf.py ├── constraint.rst ├── contractor.rst ├── dev-misc.rst ├── example-slam.rst ├── function.rst ├── hidden_code_block.py ├── images │ ├── Poly.png │ ├── T_PointInPoly.png │ ├── T_PointOutPoly.png │ ├── bwd.svg │ ├── choco.png │ ├── ctc-compo.png │ ├── ctcquantif1.svg │ ├── ctcquantif2.svg │ ├── ctcquantif3.svg │ ├── ctcquantif4.svg │ ├── ctcquantif5.svg │ ├── ctcquantif6.svg │ ├── disc1-ibexsolve.svg │ ├── disc10-ibexsolve.svg │ ├── disc11-ibexsolve.svg │ ├── disc2-ibexsolve.svg │ ├── disc3-ibexsolve.svg │ ├── disc4-ibexsolve-1.svg │ ├── disc4-ibexsolve-2.svg │ ├── disc4-ibexsolve-3.svg │ ├── disc5-ibexsolve.svg │ ├── disc6-ibexsolve.svg │ ├── disc7-ibexsolve.svg │ ├── disc8-ibexsolve.svg │ ├── disc9-ibexsolve.svg │ ├── filtering.svg │ ├── fwd.svg │ ├── ibex.jpg │ ├── lab1-15.png │ ├── lab1-500.png │ ├── lab1-80.png │ ├── ladybug.svg │ ├── loc.svg │ ├── makefile │ ├── mapping.png │ ├── param-estim-1.png │ ├── param-estim-2.png │ ├── param-estim-3.png │ ├── param-estim-4.png │ ├── param-estim.png │ ├── polytope.png │ ├── prob02.png │ ├── set-inter.png │ ├── set-interval.png │ ├── set-sep.png │ ├── set-union.png │ ├── set-visit.png │ ├── set.svg │ ├── shaving0.svg │ ├── shaving1.svg │ ├── shaving2.svg │ ├── shaving3.svg │ ├── shaving4.svg │ ├── shaving5.svg │ ├── shaving6.svg │ ├── shaving7.svg │ ├── shaving8.svg │ ├── sivia-basic.png │ ├── sivia-contract.png │ ├── sivia-full.png │ └── stability.png ├── index.rst ├── install-cmake.rst ├── interval.rst ├── intro.rst ├── lab.rst ├── make.bat ├── minibex.rst ├── optim-prog.rst ├── optim.rst ├── packages.rst ├── plugins-dev.rst ├── reference.rst ├── resources.rst ├── save-2.3 │ ├── index.html │ ├── install-2.3.html │ ├── java-install-2.3.html │ └── optim-install-2.3.html ├── separator.rst ├── set.rst ├── solver-prog.rst ├── solver.rst ├── strategy.rst ├── system.rst ├── tutorial.rst └── x86_64-MaxOSX-compat-gcc.tgz ├── examples ├── CMakeLists.txt ├── doc-arithmetic.cpp ├── doc-arithmetic.txt ├── doc-contractor.cpp ├── doc-contractor.txt ├── doc-covfiles.cpp ├── doc-covfiles.txt ├── doc-modeling.cpp ├── doc-modeling.txt ├── doc-optim.cpp ├── doc-optim.txt ├── doc-separator.cpp ├── doc-separator.txt ├── doc-set.cpp ├── doc-set.txt ├── doc-sivia.cpp ├── doc-solver.cpp ├── doc-solver.txt ├── doc-strategy.cpp ├── doc-tutorial.cpp ├── lab1.cpp ├── lab2.cpp ├── lab3.cpp ├── lab4.cpp ├── lab5.cpp ├── lab6.cpp ├── lab7.cpp ├── lab8.cpp ├── makefile ├── myfunction.txt ├── slam │ ├── data.cpp │ ├── data.h │ ├── makefile │ ├── slam1.cpp │ ├── slam2.cpp │ ├── slam2_tmp.cpp │ └── slam3.cpp ├── vibes.cpp └── vibes.h ├── ibex.pc.in ├── interval_lib_wrapper ├── CMakeLists.txt ├── bias │ ├── ibex_IntervalLibWrapper.cpp │ ├── ibex_IntervalLibWrapper.h │ └── ibex_IntervalLibWrapper.inl ├── direct │ ├── CMakeLists.txt │ ├── ibex_IntervalLibWrapper.cpp │ ├── ibex_IntervalLibWrapper.h │ └── ibex_IntervalLibWrapper.inl ├── filib │ ├── 3rd │ │ ├── filibsrc-3.0.2.2.all.all.patch │ │ ├── filibsrc-3.0.2.2.tar.gz │ │ ├── filibsrc-3.0.2.2 │ │ │ ├── CMakeLists.txt │ │ │ ├── config.h.in │ │ │ └── rounding_control │ │ │ │ └── rounding_control_config.hpp.in │ │ └── filibsrc-3.0.2.2_remove-throw.patch │ ├── CMakeLists.txt │ ├── FindFilib.cmake │ ├── ibex_IntervalLibWrapper.cpp │ ├── ibex_IntervalLibWrapper.h │ └── ibex_IntervalLibWrapper.inl └── gaol │ ├── 3rd │ ├── gaol-4.2.3alpha0.all.all.patch │ ├── gaol-4.2.3alpha0.tar.gz │ ├── gaol-4.2.3alpha0 │ │ ├── CMakeLists.txt │ │ ├── gaol │ │ │ └── gaol_configuration.h.in │ │ └── test_sse.cpp │ ├── mathlib-2.1.1.tar.gz │ ├── mathlib-2.1.1.win32.all.patch │ └── mathlib-2.1.1 │ │ ├── CMakeLists.txt │ │ └── src │ │ └── mathlib_configuration.h.in │ ├── CMakeLists.txt │ ├── FindGaol.cmake │ ├── FindMathlib.cmake │ ├── ibex_IntervalLibWrapper.cpp │ ├── ibex_IntervalLibWrapper.h │ └── ibex_IntervalLibWrapper.inl ├── lp_lib_wrapper ├── CMakeLists.txt ├── clp │ ├── 3rd │ │ ├── Clp-1.17.6.tgz │ │ └── Clp-1.17.6 │ │ │ ├── CMakeLists.txt │ │ │ ├── Clp │ │ │ ├── CMakeLists.txt │ │ │ └── src │ │ │ │ ├── config.h.in │ │ │ │ └── config_clp.h.in │ │ │ └── CoinUtils │ │ │ ├── CMakeLists.txt │ │ │ └── src │ │ │ ├── config.h.in │ │ │ └── config_coinutils.h.in │ ├── CMakeLists.txt │ ├── FindClp.cmake │ ├── ibex_LPLibWrapper.cpp │ └── ibex_LPLibWrapper.h ├── cplex │ ├── ibex_LPLibWrapper.cpp │ └── ibex_LPLibWrapper.h ├── none │ ├── CMakeLists.txt │ ├── ibex_LPLibWrapper.cpp │ └── ibex_LPLibWrapper.h └── soplex │ ├── 3rd │ ├── soplex-4.0.2.CMake.patch │ ├── soplex-4.0.2.all.all.patch │ └── soplex-4.0.2.tar │ ├── CMakeLists.txt │ ├── FindSoPlex.cmake │ ├── ibex_LPLibWrapper.cpp │ └── ibex_LPLibWrapper.h ├── src ├── CMakeLists.txt ├── arithmetic │ ├── CMakeLists.txt │ ├── ibex_Dim.cpp │ ├── ibex_Dim.h │ ├── ibex_Domain.h │ ├── ibex_DoubleIndex.cpp │ ├── ibex_DoubleIndex.h │ ├── ibex_InnerArith.cpp │ ├── ibex_InnerArith.h │ ├── ibex_Interval.cpp │ ├── ibex_Interval.h │ ├── ibex_IntervalMatrix.cpp │ ├── ibex_IntervalMatrix.h │ ├── ibex_IntervalVector.cpp │ ├── ibex_IntervalVector.h │ ├── ibex_InvalidIntervalVectorOp.h │ ├── ibex_LinearArith.h │ ├── ibex_Matrix.cpp │ ├── ibex_Matrix.h │ ├── ibex_SetMembership.cpp │ ├── ibex_TemplateDomain.h │ ├── ibex_TemplateMatrix.h │ ├── ibex_TemplateVector.h │ ├── ibex_Vector.cpp │ └── ibex_Vector.h ├── bin │ ├── CMakeLists.txt │ ├── ibexopt.cpp │ ├── ibexsolve.cpp │ └── parse_args.h ├── bisector │ ├── CMakeLists.txt │ ├── ibex_Bisection.h │ ├── ibex_BisectionPoint.h │ ├── ibex_Bsc.cpp │ ├── ibex_Bsc.h │ ├── ibex_LSmear.cpp │ ├── ibex_LSmear.h │ ├── ibex_LargestFirst.cpp │ ├── ibex_LargestFirst.h │ ├── ibex_NoBisectableVariableException.h │ ├── ibex_OptimLargestFirst.cpp │ ├── ibex_OptimLargestFirst.h │ ├── ibex_RoundRobin.cpp │ ├── ibex_RoundRobin.h │ ├── ibex_SmearFunction.cpp │ └── ibex_SmearFunction.h ├── cell │ ├── CMakeLists.txt │ ├── ibex_Cell.cpp │ ├── ibex_Cell.h │ ├── ibex_CellBeamSearch.cpp │ ├── ibex_CellBeamSearch.h │ ├── ibex_CellBuffer.cpp │ ├── ibex_CellBuffer.h │ ├── ibex_CellBufferOptim.h │ ├── ibex_CellCostFunc.cpp │ ├── ibex_CellCostFunc.h │ ├── ibex_CellDoubleHeap.h │ ├── ibex_CellHeap.cpp │ ├── ibex_CellHeap.h │ ├── ibex_CellList.cpp │ ├── ibex_CellList.h │ ├── ibex_CellStack.cpp │ └── ibex_CellStack.h ├── combinatorial │ ├── CMakeLists.txt │ ├── ibex_QInter.cpp │ └── ibex_QInter.h ├── contractor │ ├── CMakeLists.txt │ ├── ibex_ContractContext.h │ ├── ibex_Ctc.cpp │ ├── ibex_Ctc.h │ ├── ibex_Ctc3BCid.cpp │ ├── ibex_Ctc3BCid.h │ ├── ibex_CtcAcid.cpp │ ├── ibex_CtcAcid.h │ ├── ibex_CtcCompo.cpp │ ├── ibex_CtcCompo.h │ ├── ibex_CtcEmpty.cpp │ ├── ibex_CtcEmpty.h │ ├── ibex_CtcExist.cpp │ ├── ibex_CtcExist.h │ ├── ibex_CtcFixPoint.cpp │ ├── ibex_CtcFixPoint.h │ ├── ibex_CtcForAll.cpp │ ├── ibex_CtcForAll.h │ ├── ibex_CtcFwdBwd.cpp │ ├── ibex_CtcFwdBwd.h │ ├── ibex_CtcHC4.cpp │ ├── ibex_CtcHC4.h │ ├── ibex_CtcIdentity.cpp │ ├── ibex_CtcIdentity.h │ ├── ibex_CtcInteger.cpp │ ├── ibex_CtcInteger.h │ ├── ibex_CtcInverse.cpp │ ├── ibex_CtcInverse.h │ ├── ibex_CtcKuhnTucker.cpp │ ├── ibex_CtcKuhnTucker.h │ ├── ibex_CtcKuhnTuckerLP.cpp │ ├── ibex_CtcKuhnTuckerLP.h │ ├── ibex_CtcLinearRelax.cpp │ ├── ibex_CtcLinearRelax.h │ ├── ibex_CtcNewton.cpp │ ├── ibex_CtcNewton.h │ ├── ibex_CtcNotIn.cpp │ ├── ibex_CtcNotIn.h │ ├── ibex_CtcOptimShaving.cpp │ ├── ibex_CtcOptimShaving.h │ ├── ibex_CtcPolytopeHull.cpp │ ├── ibex_CtcPolytopeHull.h │ ├── ibex_CtcPropag.cpp │ ├── ibex_CtcPropag.h │ ├── ibex_CtcQInter.cpp │ ├── ibex_CtcQInter.h │ ├── ibex_CtcQuantif.cpp │ ├── ibex_CtcQuantif.h │ ├── ibex_CtcUnion.cpp │ └── ibex_CtcUnion.h ├── data │ ├── CMakeLists.txt │ ├── ibex_Cov.cpp │ ├── ibex_Cov.h │ ├── ibex_CovIBUList.cpp │ ├── ibex_CovIBUList.h │ ├── ibex_CovIUList.cpp │ ├── ibex_CovIUList.h │ ├── ibex_CovList.cpp │ ├── ibex_CovList.h │ ├── ibex_CovManifold.cpp │ ├── ibex_CovManifold.h │ ├── ibex_CovOptimData.cpp │ ├── ibex_CovOptimData.h │ ├── ibex_CovSolverData.cpp │ └── ibex_CovSolverData.h ├── function │ ├── CMakeLists.txt │ ├── ibex_BwdAlgorithm.h │ ├── ibex_CompiledFunction.cpp │ ├── ibex_CompiledFunction.h │ ├── ibex_Eval.cpp │ ├── ibex_Eval.h │ ├── ibex_ExprData.h │ ├── ibex_ExprDomain.h │ ├── ibex_Fnc.cpp │ ├── ibex_Fnc.h │ ├── ibex_FncProj.cpp │ ├── ibex_FncProj.h │ ├── ibex_Function.cpp │ ├── ibex_Function.h │ ├── ibex_FunctionBuild.cpp │ ├── ibex_FwdAlgorithm.h │ ├── ibex_Gradient.cpp │ ├── ibex_Gradient.h │ ├── ibex_HC4Revise.cpp │ ├── ibex_HC4Revise.h │ ├── ibex_InHC4Revise.cpp │ ├── ibex_InHC4Revise.h │ ├── ibex_NumConstraint.cpp │ ├── ibex_NumConstraint.h │ ├── ibex_VarSet.cpp │ └── ibex_VarSet.h ├── ibex-config.cmake.in ├── ibex_Setting.h.in ├── java │ ├── CMakeLists.txt │ ├── Ibex.java.in │ └── ibex_Java.cpp.in ├── loup │ ├── CMakeLists.txt │ ├── ibex_LoupFinder.cpp │ ├── ibex_LoupFinder.h │ ├── ibex_LoupFinderCertify.cpp │ ├── ibex_LoupFinderCertify.h │ ├── ibex_LoupFinderDefault.cpp │ ├── ibex_LoupFinderDefault.h │ ├── ibex_LoupFinderDuality.cpp │ ├── ibex_LoupFinderDuality.h │ ├── ibex_LoupFinderFwdBwd.cpp │ ├── ibex_LoupFinderFwdBwd.h │ ├── ibex_LoupFinderInHC4.cpp │ ├── ibex_LoupFinderInHC4.h │ ├── ibex_LoupFinderProbing.cpp │ ├── ibex_LoupFinderProbing.h │ ├── ibex_LoupFinderXTaylor.cpp │ └── ibex_LoupFinderXTaylor.h ├── numeric │ ├── CMakeLists.txt │ ├── ibex_Certificate.cpp │ ├── ibex_Certificate.h │ ├── ibex_Kernel.cpp │ ├── ibex_Kernel.h │ ├── ibex_LPException.h │ ├── ibex_LPSolver.cpp │ ├── ibex_LPSolver.h │ ├── ibex_Linear.cpp │ ├── ibex_Linear.h │ ├── ibex_LinearException.h │ ├── ibex_Linearizer.cpp │ ├── ibex_Linearizer.h │ ├── ibex_LinearizerCompo.cpp │ ├── ibex_LinearizerCompo.h │ ├── ibex_LinearizerDuality.cpp │ ├── ibex_LinearizerDuality.h │ ├── ibex_LinearizerFixed.cpp │ ├── ibex_LinearizerFixed.h │ ├── ibex_LinearizerXTaylor.cpp │ ├── ibex_LinearizerXTaylor.h │ ├── ibex_Newton.cpp │ └── ibex_Newton.h ├── operators │ ├── ibex_atanhc.cpp │ ├── ibex_atanhc.h │ ├── ibex_atanhccc.cpp │ ├── ibex_atanhccc.h │ ├── ibex_crossproduct.cpp │ ├── ibex_crossproduct.h │ ├── ibex_sinc.cpp │ ├── ibex_sinc.h │ ├── ibex_trace.cpp │ └── ibex_trace.h ├── optim │ ├── CMakeLists.txt │ ├── ibex_BxpMultipliers.cpp │ ├── ibex_BxpMultipliers.h │ ├── ibex_BxpOptimData.cpp │ ├── ibex_BxpOptimData.h │ ├── ibex_DefaultOptimizer.h │ ├── ibex_DefaultOptimizerConfig.cpp │ ├── ibex_DefaultOptimizerConfig.h │ ├── ibex_LineSearch.cpp │ ├── ibex_LineSearch.h │ ├── ibex_OptimMemory.h │ ├── ibex_Optimizer.cpp │ ├── ibex_Optimizer.h │ ├── ibex_OptimizerConfig.cpp │ ├── ibex_OptimizerConfig.h │ ├── ibex_UnconstrainedLocalSearch.cpp │ └── ibex_UnconstrainedLocalSearch.h ├── parser │ ├── CMakeLists.txt │ ├── ibex_P_CtrGenerator.cpp │ ├── ibex_P_CtrGenerator.h │ ├── ibex_P_Expr.cpp │ ├── ibex_P_Expr.h │ ├── ibex_P_ExprGenerator.cpp │ ├── ibex_P_ExprGenerator.h │ ├── ibex_P_ExprPrinter.cpp │ ├── ibex_P_ExprPrinter.h │ ├── ibex_P_ExprVisitor.h │ ├── ibex_P_NumConstraint.cpp │ ├── ibex_P_NumConstraint.h │ ├── ibex_P_Scope.cpp │ ├── ibex_P_Scope.h │ ├── ibex_P_Source.cpp │ ├── ibex_P_Source.h │ ├── ibex_P_Struct.cpp │ ├── ibex_P_Struct.h │ ├── ibex_P_SysGenerator.cpp │ ├── ibex_P_SysGenerator.h │ ├── ibex_SyntaxError.cpp │ ├── ibex_SyntaxError.h │ ├── ibex_UnknownFileException.h │ ├── lexer.l │ └── parser.yc ├── predicate │ ├── CMakeLists.txt │ ├── ibex_BoolInterval.h │ ├── ibex_Pdc.h │ ├── ibex_PdcAnd.cpp │ ├── ibex_PdcAnd.h │ ├── ibex_PdcCleared.cpp │ ├── ibex_PdcCleared.h │ ├── ibex_PdcDiameterLT.cpp │ ├── ibex_PdcDiameterLT.h │ ├── ibex_PdcFirstOrder.cpp │ ├── ibex_PdcFirstOrder.h │ ├── ibex_PdcFwdBwd.cpp │ ├── ibex_PdcFwdBwd.h │ ├── ibex_PdcHansenFeasibility.cpp │ ├── ibex_PdcHansenFeasibility.h │ ├── ibex_PdcImageSubset.cpp │ ├── ibex_PdcImageSubset.h │ ├── ibex_PdcNo.cpp │ ├── ibex_PdcNo.h │ ├── ibex_PdcNot.cpp │ ├── ibex_PdcNot.h │ ├── ibex_PdcOr.cpp │ ├── ibex_PdcOr.h │ ├── ibex_PdcYes.cpp │ └── ibex_PdcYes.h ├── set │ ├── CMakeLists.txt │ ├── ibex_Sep.cpp │ ├── ibex_Sep.h │ ├── ibex_SepBoundaryCtc.cpp │ ├── ibex_SepBoundaryCtc.h │ ├── ibex_SepCtcPair.cpp │ ├── ibex_SepCtcPair.h │ ├── ibex_SepFwdBwd.cpp │ ├── ibex_SepFwdBwd.h │ ├── ibex_SepInter.cpp │ ├── ibex_SepInter.h │ ├── ibex_SepInverse.cpp │ ├── ibex_SepInverse.h │ ├── ibex_SepNot.cpp │ ├── ibex_SepNot.h │ ├── ibex_SepQInter.cpp │ ├── ibex_SepQInter.h │ ├── ibex_SepUnion.cpp │ ├── ibex_SepUnion.h │ ├── ibex_Set.cpp │ ├── ibex_Set.h │ ├── ibex_SetBisect.cpp │ ├── ibex_SetBisect.h │ ├── ibex_SetConnectedComponents.cpp │ ├── ibex_SetInterval.cpp │ ├── ibex_SetInterval.h │ ├── ibex_SetLeaf.cpp │ ├── ibex_SetLeaf.h │ ├── ibex_SetNode.cpp │ ├── ibex_SetNode.h │ ├── ibex_SetValueNode.cpp │ ├── ibex_SetValueNode.h │ └── ibex_SetVisitor.h ├── solver │ ├── CMakeLists.txt │ ├── ibex_DefaultSolver.cpp │ ├── ibex_DefaultSolver.h │ ├── ibex_Solver.cpp │ └── ibex_Solver.h ├── strategy │ ├── CMakeLists.txt │ ├── ibex_BoxEvent.h │ ├── ibex_BoxProperties.cpp │ ├── ibex_BoxProperties.h │ ├── ibex_Bxp.h │ ├── ibex_BxpActiveCtr.cpp │ ├── ibex_BxpActiveCtr.h │ ├── ibex_BxpActiveCtrs.cpp │ ├── ibex_BxpActiveCtrs.h │ ├── ibex_BxpLinearRelaxArgMin.cpp │ ├── ibex_BxpLinearRelaxArgMin.h │ ├── ibex_BxpSystemCache.cpp │ ├── ibex_BxpSystemCache.h │ ├── ibex_Paver.cpp │ ├── ibex_Paver.h │ ├── ibex_SetImage.cpp │ ├── ibex_SetImage.h │ ├── ibex_Statistics.cpp │ ├── ibex_Statistics.h │ ├── ibex_Sts.h │ ├── ibex_StsLPSolver.cpp │ ├── ibex_StsLPSolver.h │ └── ibex_SubPaving.h ├── symbolic │ ├── CMakeLists.txt │ ├── ibex_CmpOp.cpp │ ├── ibex_CmpOp.h │ ├── ibex_Expr.cpp │ ├── ibex_Expr.h │ ├── ibex_Expr2DAG.cpp │ ├── ibex_Expr2DAG.h │ ├── ibex_Expr2Minibex.cpp │ ├── ibex_Expr2Minibex.h │ ├── ibex_Expr2Polynom.cpp │ ├── ibex_Expr2Polynom.h │ ├── ibex_ExprCmp.cpp │ ├── ibex_ExprCmp.h │ ├── ibex_ExprCopy.cpp │ ├── ibex_ExprCopy.h │ ├── ibex_ExprCtr.h │ ├── ibex_ExprDiff.cpp │ ├── ibex_ExprDiff.h │ ├── ibex_ExprFuncDomain.cpp │ ├── ibex_ExprFuncDomain.h │ ├── ibex_ExprLinearity.cpp │ ├── ibex_ExprLinearity.h │ ├── ibex_ExprMonomial.cpp │ ├── ibex_ExprMonomial.h │ ├── ibex_ExprOccCounter.cpp │ ├── ibex_ExprOccCounter.h │ ├── ibex_ExprOperators.cpp.in │ ├── ibex_ExprOperators.h.in │ ├── ibex_ExprPolynomial.cpp │ ├── ibex_ExprPolynomial.h │ ├── ibex_ExprPrinter.cpp │ ├── ibex_ExprPrinter.h │ ├── ibex_ExprSimplify.cpp │ ├── ibex_ExprSimplify.h │ ├── ibex_ExprSimplify2.cpp │ ├── ibex_ExprSimplify2.h │ ├── ibex_ExprSize.cpp │ ├── ibex_ExprSize.h │ ├── ibex_ExprSubNodes.cpp │ ├── ibex_ExprSubNodes.h │ ├── ibex_ExprVisitor.h │ ├── ibex_InputNodeMap.cpp │ ├── ibex_InputNodeMap.h │ └── ibex_NodeMap.h ├── system │ ├── CMakeLists.txt │ ├── ibex_ExtendedSystem.cpp │ ├── ibex_ExtendedSystem.h │ ├── ibex_FncActiveCtrs.cpp │ ├── ibex_FncActiveCtrs.h │ ├── ibex_FncKuhnTucker.cpp │ ├── ibex_FncKuhnTucker.h │ ├── ibex_KuhnTuckerSystem.cpp │ ├── ibex_KuhnTuckerSystem.h │ ├── ibex_NormalizedSystem.cpp │ ├── ibex_NormalizedSystem.h │ ├── ibex_System.cpp │ ├── ibex_System.h │ ├── ibex_SystemFactory.cpp │ ├── ibex_SystemFactory.h │ └── ibex_SystemMerge.cpp └── tools │ ├── CMakeLists.txt │ ├── ibex_Agenda.cpp │ ├── ibex_Agenda.h │ ├── ibex_Array.h │ ├── ibex_BitSet.cpp │ ├── ibex_BitSet.h │ ├── ibex_DirectedHyperGraph.cpp │ ├── ibex_DirectedHyperGraph.h │ ├── ibex_DoubleHeap.h │ ├── ibex_Exception.cpp │ ├── ibex_Exception.h │ ├── ibex_Heap.h │ ├── ibex_HyperGraph.cpp │ ├── ibex_HyperGraph.h │ ├── ibex_Id.cpp │ ├── ibex_Id.h │ ├── ibex_IntStack.h │ ├── ibex_Map.h │ ├── ibex_Memory.cpp │ ├── ibex_Memory.h │ ├── ibex_Random.cpp │ ├── ibex_Random.h │ ├── ibex_SharedHeap.h │ ├── ibex_String.cpp │ ├── ibex_String.h │ ├── ibex_SymbolMap.h │ ├── ibex_Timer.cpp │ ├── ibex_Timer.h │ └── ibex_mistral_Bitset.h └── tests ├── CMakeLists.txt ├── ExFunction.cpp ├── ExFunction.h ├── Instance.cpp ├── Instance.h ├── Ponts30.cpp ├── Ponts30.h ├── TestAgenda.cpp ├── TestAgenda.h ├── TestArith.cpp ├── TestArith.h ├── TestBitSet.cpp ├── TestBitSet.h ├── TestBoolInterval.cpp ├── TestBoolInterval.h ├── TestBxpSystemCache.cpp ├── TestBxpSystemCache.h ├── TestCell.cpp ├── TestCell.h ├── TestCellHeap.cpp ├── TestCellHeap.h ├── TestCov.cpp ├── TestCov.h ├── TestCross.cpp ├── TestCross.h ├── TestCtcExist.cpp ├── TestCtcExist.h ├── TestCtcForAll.cpp ├── TestCtcForAll.h ├── TestCtcFwdBwd.cpp ├── TestCtcFwdBwd.h ├── TestCtcHC4.cpp ├── TestCtcHC4.h ├── TestCtcInteger.cpp ├── TestCtcInteger.h ├── TestCtcNotIn.cpp ├── TestCtcNotIn.h ├── TestCtcPolytopeHull.cpp ├── TestCtcPolytopeHull.h ├── TestDim.cpp ├── TestDim.h ├── TestDomain.cpp ├── TestDomain.h ├── TestDoubleHeap.cpp ├── TestDoubleHeap.h ├── TestDoubleIndex.cpp ├── TestDoubleIndex.h ├── TestEval.cpp ├── TestEval.h ├── TestExpr.cpp ├── TestExpr.h ├── TestExpr2DAG.cpp ├── TestExpr2DAG.h ├── TestExpr2Minibex.cpp ├── TestExpr2Minibex.h ├── TestExprCmp.cpp ├── TestExprCmp.h ├── TestExprCopy.cpp ├── TestExprCopy.h ├── TestExprDiff.cpp ├── TestExprDiff.h ├── TestExprLinearity.cpp ├── TestExprLinearity.h ├── TestExprMonomial.cpp ├── TestExprMonomial.h ├── TestExprPolynomial.cpp ├── TestExprPolynomial.h ├── TestExprSimplify.cpp ├── TestExprSimplify.h ├── TestExprSimplify2.cpp ├── TestExprSimplify2.h ├── TestFncKuhnTucker.cpp ├── TestFncKuhnTucker.h ├── TestFunction.cpp ├── TestFunction.h ├── TestGradient.cpp ├── TestGradient.h ├── TestHC4Revise.cpp ├── TestHC4Revise.h ├── TestInHC4Revise.cpp ├── TestInHC4Revise.h ├── TestInnerArith.cpp ├── TestInnerArith.h ├── TestInterval.cpp ├── TestInterval.h ├── TestIntervalMatrix.cpp ├── TestIntervalMatrix.h ├── TestIntervalVector.cpp ├── TestIntervalVector.h ├── TestKernel.cpp ├── TestKernel.h ├── TestKuhnTuckerSystem.cpp ├── TestKuhnTuckerSystem.h ├── TestLPSolver.cpp ├── TestLPSolver.h ├── TestLinear.cpp ├── TestLinear.h ├── TestNewton.cpp ├── TestNewton.h ├── TestNumConstraint.cpp ├── TestNumConstraint.h ├── TestOptimizer.cpp ├── TestOptimizer.h ├── TestParser.cpp ├── TestParser.h ├── TestPdcHansenFeasibility.cpp ├── TestPdcHansenFeasibility.h ├── TestRoundRobin.cpp ├── TestRoundRobin.h ├── TestSeparator.cpp ├── TestSeparator.h ├── TestSet.cpp ├── TestSet.h ├── TestSinc.cpp ├── TestSinc.h ├── TestSolver.cpp ├── TestSolver.h ├── TestString.cpp ├── TestString.h ├── TestSymbolMap.cpp ├── TestSymbolMap.h ├── TestSystem.cpp ├── TestSystem.h ├── TestTimer.cpp ├── TestTimer.h ├── TestTrace.cpp ├── TestTrace.h ├── TestUnconstrainedLocalSearch.cpp ├── TestUnconstrainedLocalSearch.h ├── TestVarSet.cpp ├── TestVarSet.h ├── lp-test-problems ├── 25fv47.mps ├── NOTE.txt ├── adlittle.mps └── afiro.mps ├── minibex ├── I5.bch ├── alkyl.bch ├── const08.mbx ├── const_var_idx.mbx ├── diff_lock.mbx ├── empty.mbx ├── issue245_1.mbx ├── issue245_2.mbx ├── issue245_3.mbx ├── issue365.mbx ├── issue380.mbx ├── issue474.mbx ├── mutable_cst.mbx └── vec.mbx ├── quimper ├── error01.qpr ├── func01.qpr ├── func02.qpr ├── func03.qpr ├── loop01.qpr ├── ponts.qpr ├── unconstrained.qpr └── var01.qpr ├── utest.cpp ├── utils.cpp └── utils.h /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # ... because it depends on the branch: 3 | .travis.yml 4 | 5 | # Compiled Object files 6 | *.slo 7 | *.lo 8 | *.o 9 | *.obj 10 | 11 | # Compiled Dynamic libraries 12 | *.so 13 | *.dylib 14 | *.dll 15 | 16 | # Compiled Static libraries 17 | *.lai 18 | *.la 19 | *.a 20 | *.lib 21 | 22 | # Executables 23 | *.exe 24 | *.out 25 | *.app 26 | 27 | # eclipse settings 28 | .cproject 29 | .settings 30 | .project 31 | 32 | # python generated files 33 | *.pyc 34 | 35 | # waf generated stuff 36 | .waf* 37 | .lock-waf* 38 | __build__ 39 | 40 | # ibex generated obj 41 | build 42 | lib 43 | include 44 | share 45 | bin 46 | doc/images/*.png 47 | doc/_build 48 | 49 | *~ 50 | 51 | 52 | # files in examples 53 | **/examples/* 54 | !**/examples/*cpp 55 | !**/examples/makefile 56 | 57 | # results ibex files 58 | *.cov 59 | -------------------------------------------------------------------------------- /benchs/optim/benchmark_optim.gnuplot: -------------------------------------------------------------------------------- 1 | set term pdf enhanced 2 | 3 | set output outputfile 4 | 5 | set title title 6 | 7 | set border 3 8 | 9 | set logscale x 10 10 | set format x "10^{%T}" 11 | set xtics 1e1 12 | set xtics add ("1" 1) 13 | set xtics nomirror 14 | set mxtics 5 15 | set xrange [1:1e-8] 16 | set xlabel "ε" 17 | 18 | set yrange [0:] 19 | set ytics nomirror 20 | set ylabel "time (in sec)" 21 | 22 | set style arrow 1 nohead lc rgb "gray" lt 0 lw 2 23 | prec_max = 10**-prec_ndigits_max 24 | prec_min = 10**-prec_ndigits_min 25 | set arrow from prec_max, graph 0 to prec_max, graph 1 as 1 26 | set arrow from prec_min, graph 0 to prec_min, graph 1 as 1 27 | set arrow from graph 0, time_limit to graph 1, time_limit as 1 28 | 29 | plot datafile using "eps":"time" with points ps 0.5 lc rgb "red" notitle,\ 30 | datafile using "eps":"time" smooth unique lc rgb "orange" notitle 31 | -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/gear.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x2 in [12,60]; 3 | x3 in [12,60]; 4 | x4 in [12,60]; 5 | x5 in [12,60]; 6 | 7 | 8 | minimize 9 | (0.14427932477276 - (x2*x3)/(x4*x5))^2; 10 | 11 | constraints 12 | integer(x2); 13 | integer(x3); 14 | integer(x4); 15 | integer(x5); 16 | 17 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/gear3.bch: -------------------------------------------------------------------------------- 1 | variables 2 | i2 in [12,60]; 3 | i3 in [12,60]; 4 | i4 in [12,60]; 5 | i5 in [12,60]; 6 | y6 in [12,60]; 7 | y7 in [12,60]; 8 | y8 in [12,60]; 9 | y9 in [12,60]; 10 | 11 | minimize 12 | (0.14427932477276 - (y6*y7)/(y8*y9))^2; 13 | 14 | constraints 15 | integer(i2); 16 | integer(i3); 17 | integer(i4); 18 | integer(i5); 19 | i2=y6; 20 | i3=y7; 21 | i4=y8; 22 | i5=y9; 23 | 24 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/gear4.bch: -------------------------------------------------------------------------------- 1 | variables 2 | i1 in [12,60]; 3 | i2 in [12,60]; 4 | i3 in [12,60]; 5 | i4 in [12,60]; 6 | x6 in [0,1.e8]; 7 | x7 in [0,1.e8]; 8 | 9 | 10 | minimize 11 | x6+x7; 12 | 13 | constraints 14 | integer(i1); 15 | integer(i2); 16 | integer(i3); 17 | integer(i4); 18 | -1000000*i1*i2/(i3*i4) - x6 + x7 + 144279.32477276 =0; 19 | 20 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/nsv16.bch: -------------------------------------------------------------------------------- 1 | variables 2 | i1 in [0,200]; 3 | i2 in [0,200]; 4 | 5 | minimize 6 | (1.5 - i1*(1 - i2))^2 + (2.25 - (1 - i2^2)*i1)^2 + (2.625 - (1 7 | - i2^3)*i1)^2 ; 8 | 9 | constraints 10 | integer(i1); 11 | integer(i2); 12 | 13 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/nvs01.bch: -------------------------------------------------------------------------------- 1 | variables 2 | i1 in [0,200]; 3 | i2 in [0,200]; 4 | x3 in [0,100]; 5 | minimize 6 | 0.04712385*sqrt(900 + i1^2)*i2; 7 | 8 | constraints 9 | 420.169404664517*sqrt(900 + i1^2) - x3*i1*i2 = 0; 10 | (2960.87631843 + 18505.4769901875*i2^2)/(7200 + i1^2) - x3 >= 0; 11 | integer(i1); 12 | integer(i2); 13 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/nvs05.bch: -------------------------------------------------------------------------------- 1 | variables 2 | i1 in [1,200]; 3 | i2 in [1,200]; 4 | x3 in [0.01,200]; 5 | x4 in [0.01,200]; 6 | x5 in [-1.e8,1.e8]; 7 | x6 in [-1.e8,1.e8]; 8 | 9 | x7 in [-1.e8,1.e8]; 10 | x8 in [-1.e8,1.e8]; 11 | 12 | minimize 13 | (1.10471*x3^2*x4 + 0.04811*i1*i2*(14 + x4)); 14 | 15 | constraints 16 | integer(i1); 17 | integer(i2); 18 | -4243.28147100424/(x3*x4) + x5 = 0; 19 | -sqrt(0.25*x4^2 + (0.5*i1 + 0.5*x3)^2) + x7 = 0; 20 | -(59405.9405940594 + 2121.64073550212*x4)*x7/(x3*x4*(0.0833333333333333* 21 | x4^2 + (0.5*i1 + 0.5*x3)^2)) + x6 = 0; 22 | -0.5*x4/x7 + x8 = 0; 23 | -sqrt(x5^2 + 2*x5*x6*x8 + x6^2) >= -13600; 24 | -504000/(i1^2*i2) >= -30000; 25 | i2 - x3 >= 0; 26 | 0.0204744897959184*sqrt(1.e15*i2^3*i1*i1*i2^3)*(1 - 27 | 0.0282346219657891*i1) >= 6000; 28 | -0.21952/(i1^3*i2) >= -0.25; 29 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/nvs08.bch: -------------------------------------------------------------------------------- 1 | variables 2 | i1 in [0,200]; 3 | i2 in [0,200]; 4 | x3 in [0.001,200]; 5 | 6 | 7 | minimize 8 | (((-3) + i1)^2 + ((-2) + i2)^2 + (4 + x3)^2); 9 | 10 | constraints 11 | integer(i1); 12 | integer(i2); 13 | sqrt(x3) + i1 + 2*i2 >= 10; 14 | 0.240038406144983*i1^2 - i2 + 0.255036980362153*x3 >= -3; 15 | i2^2 - 1/(x3^3*sqrt(x3)) - 4*i1 >= -12; 16 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/nvs21.bch: -------------------------------------------------------------------------------- 1 | variables 2 | i1 in [1,200]; 3 | i2 in [1,200]; 4 | x3 in [0.,0.2]; 5 | 6 | minimize 7 | -(0.00201*i1^4*i2*x3^2); 8 | 9 | constraints 10 | 11 | -i1^2*i2 >= -675; 12 | -0.1*i1^2*x3^2 >= -0.419; 13 | integer(i1); 14 | integer(i2); 15 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/nvs22.bch: -------------------------------------------------------------------------------- 1 | variables 2 | i1 in [1,200]; 3 | i2 in [1,200]; 4 | i3 in [1,20]; 5 | i4 in [1,20]; 6 | x5 in [-1.e8,1.e8]; 7 | x6 in [-1.e8,1.e8]; 8 | x7 in [-1.e8,1.e8]; 9 | x8 in [-1.e8,1.e8]; 10 | 11 | minimize 12 | (1.10471*i3^2*i4 + 0.04811*i1*i2*(14 + i4)); 13 | 14 | constraints 15 | integer(i1); 16 | integer(i2); 17 | integer(i3); 18 | integer(i4); 19 | -4243.28147100424/(i3*i4) + x5 = 0; 20 | sqrt(0.25*i4^2 + (0.5*i1 + 0.5*i3)^2) + x7 = 0; 21 | -(59405.9405940594 + 2121.64073550212*i4)*x7/(i3*i4*(0.0833333333333333* 22 | i4^2 + (0.5*i1 + 0.5*i3)^2)) + x6 = 0; 23 | -0.5*i4/x7 + x8 = 0; 24 | -sqrt(x5^2 + 2*x5*x6*x8 + x6^2) >= -13600; 25 | 26 | -504000/(i1^2*i2) >= -30000; 27 | i2 - i3 >= 0; 28 | 0.0204744897959184*sqrt(10000000000000*i2^3*i1*i1*i2^3)*(1 29 | - 0.0282346219657891*i1) >= 6000; 30 | 31 | -2.1952/(i1^3*i2) >= -0.25; 32 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/prob10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x2 in [0,1.e8]; 3 | i3 in [0,1.e8]; 4 | minimize 5 | 1.1*(((-10) + 2*x2)^2 + ((-5) + i3)^2) + sin(((-10) + 2*x2)^2 6 | + ((-5) + i3)^2); 7 | constraints 8 | integer(i3); 9 | 0.7*x2 + i3 <= 7; 10 | 2.5*x2 + i3 <= 19; 11 | 12 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/st_e36.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | i1 in [15,25]; 3 | x2 in [3,5.5]; 4 | 5 | minimize 2*x2^2 + 0.008*i1^3 - 3.2*x2*i1 - 2*i1; 6 | constraints 7 | integer(i1); 8 | (-11 + x2^2 - 6*x2 + 0.8*i1)*((3.25*x2 - 0.62*i1)^2 + ((-6.35) + 9 | 0.2*i1 + x2)^2)*((3.55*x2 - 0.66*i1)^2 + ((-6.85) + 0.2*i1 + x2)^2)*(( 10 | 3.6*x2 - 0.7*i1)^2 + ((-7.1) + 0.2*i1 + x2)^2)*((3.8*x2 - 0.82*i1)^2 + 11 | ((-7.9) + 0.2*i1 + x2)^2) = 0; 12 | 0.6*i1 - 0.2*x2*i1 + exp((-3) + x2) <= 1; 13 | 14 | 15 | end 16 | -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/st_e38.bch: -------------------------------------------------------------------------------- 1 | variables 2 | i1 in [18,100]; 3 | i2 in [10,100]; 4 | x3 in [40,80]; 5 | x4 in [20,60]; 6 | 7 | minimize 8 | (0.0389*i1*x3*x4 + 0.1111312*x3^2*i2 + 0.012348046875*i1^2*x4 + 9 | 0.0775*i1^2*x3); 10 | constraints 11 | - 0.0625*i1 + 0.0193*x3 <= 0; 12 | - 0.0625*i2 + 0.00954*x3 <= 0; 13 | 3.1415927*(x3^2*x4 + 1.33333333333333*x3^3) >= 1296000; 14 | 15 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-minlp/st_e40.bch: -------------------------------------------------------------------------------- 1 | variables 2 | i1 in [1,12]; 3 | i2 in [1,12]; 4 | i3 in [1,12]; 5 | x4 in [-1.e8,1.e8]; 6 | 7 | minimize 8 | 2*i1 + i2 + 1.4142135*i3; 9 | 10 | constraints 11 | integer(i1); 12 | integer(i2); 13 | 14 | 15 | (-0.15*i1*i2) - 0.14142135*i2*i3 - 0.1319*i1*i3 + x4 = 0; 16 | 17 | 1.7317*i2 + 1.03366*i3 - x4 <= 0; 18 | 19 | 0.634*i1 + 2.828*i3 - x4 <= 0; 20 | 21 | 0.5*i1 - 2*i2 - x4 <= 0; 22 | 23 | - 0.5*i1 + 2*i2 - x4 <= 0; 24 | 25 | (-1 + i1)*(-2 + i1)*(-3 + i1)*(-5 + i1)*(-8 + i1)*(-10 + i1)*(-12 + i1) 26 | = 0; 27 | 28 | (-1 + i2)*(-2 + i2)*(-3 + i2)*(-5 + i2)*(-8 + i2)*(-10 + i2)*(-12 + i2) 29 | = 0; 30 | 31 | (-1 + i3)*(-2 + i3)*(-3 + i3)*(-5 + i3)*(-8 + i3)*(-10 + i3)*(-12 + i3) 32 | = 0; 33 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/ackley10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-32,32]; 4 | x2 in [-32,32]; 5 | x3 in [-32,32]; 6 | x4 in [-32,32]; 7 | x5 in [-32,32]; 8 | x6 in [-32,32]; 9 | x7 in [-32,32]; 10 | x8 in [-32,32]; 11 | x9 in [-32,32]; 12 | x10 in [-32,32]; 13 | 14 | minimize 15 | -20 * exp (-0.2 * sqrt (0.1 * (x1^2 + x2 ^2 + x3^2 + x4^2 + x5^2 + x6^2 +x7^2 +x8^2 + x9^2 + x10^2 16 | ))) - exp (0.1 * (cos (2*pi*x1) + cos (2*pi*x2) +cos (2*pi*x3) 17 | + cos (2*pi*x4) + cos (2*pi*x5)+ cos (2*pi*x6)+ cos (2*pi*x7)+ cos (2*pi*x8)+ cos (2*pi*x9)+ cos (2*pi*x10))) + 20 + 2.718281; 18 | 19 | 20 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/ackley5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-32,32]; 4 | x2 in [-32,32]; 5 | x3 in [-32,32]; 6 | x4 in [-32,32]; 7 | x5 in [-32,32]; 8 | 9 | minimize 10 | -20 * exp (-0.2 * sqrt (0.2 * (x1^2 + x2 ^2 + x3^2 + x4^2 + x5 ^2))) - exp (0.2 * (cos (2*pi*x1) + cos (2*pi*x2) +cos (2*pi*x3) 11 | + cos (2*pi*x4) + cos (2*pi*x5))) + 20 + 2.718281; 12 | 13 | 14 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/alpine1.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[1] in [-10,10]; 4 | 5 | minimize 6 | abs(x(1) *sin(x(1))+ 0.1 * x(1)) ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/alpine10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[10] in [-10,10]; 4 | 5 | minimize 6 | abs(x(1) *sin(x(1))+ 0.1 * x(1)) + abs(x(2) *sin(x(2))+ 0.1 * x(2)) + abs(x(3) *sin(x(3))+ 0.1 * x(3)) + abs(x(4) *sin(x(4))+ 0.1 * x(4)) + abs(x(5) *sin(x(5))+ 0.1 * x(5)) 7 | + abs(x(6) *sin(x(6))+ 0.1 * x(6)) + abs(x(7) *sin(x(7))+ 0.1 * x(7)) + abs(x(8) *sin(x(8))+ 0.1 * x(8)) + abs(x(9) *sin(x(9))+ 0.1 * x(9)) + abs(x(10) *sin(x(10))+ 0.1 * x(10)) 8 | 9 | 10 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/alpine20.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[20] in [-10,10]; 4 | 5 | minimize 6 | abs(x(1) *sin(x(1))+ 0.1 * x(1)) + abs(x(2) *sin(x(2))+ 0.1 * x(2)) + abs(x(3) *sin(x(3))+ 0.1 * x(3)) + abs(x(4) *sin(x(4))+ 0.1 * x(4)) + abs(x(5) *sin(x(5))+ 0.1 * x(5)) 7 | + abs(x(6) *sin(x(6))+ 0.1 * x(6)) + abs(x(7) *sin(x(7))+ 0.1 * x(7)) + abs(x(8) *sin(x(8))+ 0.1 * x(8)) + abs(x(9) *sin(x(9))+ 0.1 * x(9)) + abs(x(10) *sin(x(10))+ 0.1 * x(10)) 8 | + abs(x(11) *sin(x(11))+ 0.1 * x(11)) + abs(x(12) *sin(x(12))+ 0.1 * x(12)) + abs(x(13) *sin(x(13))+ 0.1 * x(13)) + abs(x(14) *sin(x(14))+ 0.1 * x(14)) + abs(x(15) *sin(x(15))+ 0.1 * x(15)) 9 | + abs(x(16) *sin(x(16))+ 0.1 * x(16)) + abs(x(17) *sin(x(17))+ 0.1 * x(17)) + abs(x(18) *sin(x(18))+ 0.1 * x(18)) + abs(x(19) *sin(x(19))+ 0.1 * x(19)) + abs(x(20) *sin(x(20))+ 0.1 * x(20)) 10 | 11 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/alpine5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[5] in [-10,10]; 4 | 5 | minimize 6 | abs(x(1) *sin(x(1))+ 0.1 * x(1)) + abs(x(2) *sin(x(2))+ 0.1 * x(2)) + abs(x(3) *sin(x(3))+ 0.1 * x(3)) + abs(x(4) *sin(x(4))+ 0.1 * x(4)) + abs(x(5) *sin(x(5))+ 0.1 * x(5)); -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/amgm10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[10] in [0,10]; 3 | 4 | minimize 5 | 6 | 1/10 * (x(1)+x(2)+x(3)+x(4)+x(5)+x(6)+x(7)+x(8)+x(9)+x(10)) 7 | - (x(1)*x(2)*x(3)*x(4)*x(5)*x(6)*x(7)*x(8)*x(9)*x(10))^0.1 ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/amgm2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[2] in [0,10]; 3 | 4 | minimize 5 | 6 | 1/2 * (x(1)+x(2)) 7 | - (x(1)*x(2))^0.5 ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/amgm5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[5] in [0,10]; 3 | 4 | minimize 5 | 6 | 1/5 * (x(1)+x(2)+x(3)+x(4)+x(5)) 7 | - (x(1)*x(2)*x(3)*x(4)*x(5))^0.2 ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/beale.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-4.5,4.5]; 4 | x2 in [-4.5,4.5]; 5 | 6 | 7 | minimize 8 | (1.5 - x1 +x1*x2)^2 + (2.25 -x1 + x1*x2^2)^2 + (2.625 - x1 + x1*x2^3)^2 ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/bohachevsky10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[10]in [-15,15]; 4 | 5 | minimize 6 | 7 | x(1)^2+2*x(2)^2 -0.3 * cos(3*pi*x(1)) -0.4 * cos(4*pi*x(2)) + 0.7 8 | + x(2)^2+2*x(3)^2 -0.3 * cos(3*pi*x(2)) -0.4 * cos(4*pi*x(3)) + 0.7 9 | + x(3)^2+2*x(4)^2 -0.3 * cos(3*pi*x(3)) -0.4 * cos(4*pi*x(4)) + 0.7 10 | + x(4)^2+2*x(5)^2 -0.3 * cos(3*pi*x(4)) -0.4 * cos(4*pi*x(5)) + 0.7 11 | + x(5)^2+2*x(6)^2 -0.3 * cos(3*pi*x(5)) -0.4 * cos(4*pi*x(6)) + 0.7 12 | + x(6)^2+2*x(7)^2 -0.3 * cos(3*pi*x(6)) -0.4 * cos(4*pi*x(7)) + 0.7 13 | + x(7)^2+2*x(8)^2 -0.3 * cos(3*pi*x(7)) -0.4 * cos(4*pi*x(8)) + 0.7 14 | + x(8)^2+2*x(9)^2 -0.3 * cos(3*pi*x(8)) -0.4 * cos(4*pi*x(9)) + 0.7 15 | + x(9)^2+2*x(10)^2 -0.3 * cos(3*pi*x(9)) -0.4 * cos(4*pi*x(10)) + 07 16 | ; 17 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/dixon-price-5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-10,10]; 4 | x2 in [-10,10]; 5 | x3 in [-10,10]; 6 | x4 in [-10,10]; 7 | x5 in [-10,10]; 8 | x6 in [-10,10]; 9 | x7 in [-10,10]; 10 | x8 in [-10,10]; 11 | x9 in [-10,10]; 12 | x10 in [-10,10]; 13 | 14 | minimize 15 | 16 | (x1-1)^2 + 2 * (2* x2^2 - x1)^2 + 3 * (2* x3^2 - x2)^2 + 4 * (2* x4^2 - x3)^2 + 5 * (2* x5^2 - x4)^2 17 | + 6 * (2* x6^2 - x5)^2 + 7 * (2* x7^2 - x6)^2 + 8 * (2* x8^2 - x7)^2 + 9 * (2* x9^2 - x8)^2 + 10*(2* x10^2 - x9)^2 ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/dixon-price10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-10,10]; 4 | x2 in [-10,10]; 5 | x3 in [-10,10]; 6 | x4 in [-10,10]; 7 | x5 in [-10,10]; 8 | x6 in [-10,10]; 9 | x7 in [-10,10]; 10 | x8 in [-10,10]; 11 | x9 in [-10,10]; 12 | x10 in [-10,10]; 13 | 14 | minimize 15 | 16 | (x1-1)^2 + 2 * (2* x2^2 - x1)^2 + 3 * (2* x3^2 - x2)^2 + 4 * (2* x4^2 - x3)^2 + 5 * (2* x5^2 - x4)^2 17 | + 6 * (2* x6^2 - x5)^2 + 7 * (2* x7^2 - x6)^2 + 8 * (2* x8^2 - x7)^2 + 9 * (2* x9^2 - x8)^2 + 10*(2* x10^2 - x9)^2 ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/dixon-price5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-10,10]; 4 | x2 in [-10,10]; 5 | x3 in [-10,10]; 6 | x4 in [-10,10]; 7 | x5 in [-10,10]; 8 | 9 | minimize 10 | 11 | (x1-1)^2 + 2 * (2* x2^2 - x1)^2 + 3 * (2* x3^2 - x2)^2 + 4 * (2* x4^2 - x3)^2 + 5 * (2* x5^2 - x4)^2; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/egg-holder-3.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[4] in [-512,512]; 3 | 4 | 5 | minimize 6 | -((x(2)+47) * sin(sqrt(abs(x(2)+47+(x(1)/2)))) + x(1) * sin (sqrt(abs(x(1)-(x(2)+47)))) + 7 | (x(3)+47) * sin(sqrt(abs(x(3)+47+(x(2)/2)))) + x(2) * sin (sqrt(abs(x(2)-(x(3)+47)))) 8 | ); 9 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/egg-holder-4.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[4] in [-512,512]; 3 | 4 | 5 | minimize 6 | -((x(2)+47) * sin(sqrt(abs(x(2)+47+(x(1)/2)))) + x(1) * sin (sqrt(abs(x(1)-(x(2)+47)))) + 7 | (x(3)+47) * sin(sqrt(abs(x(3)+47+(x(2)/2)))) + x(2) * sin (sqrt(abs(x(2)-(x(3)+47)))) + 8 | (x(4)+47) * sin(sqrt(abs(x(4)+47+(x(3)/2)))) + x(3) * sin (sqrt(abs(x(3)-(x(4)+47)))) 9 | ); 10 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/egg-holder-5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[5] in [-512,512]; 3 | 4 | 5 | minimize 6 | -((x(2)+47) * sin(sqrt(abs(x(2)+47+(x(1)/2)))) + x(1) * sin (sqrt(abs(x(1)-(x(2)+47)))) + 7 | (x(3)+47) * sin(sqrt(abs(x(3)+47+(x(2)/2)))) + x(2) * sin (sqrt(abs(x(2)-(x(3)+47)))) + 8 | (x(4)+47) * sin(sqrt(abs(x(4)+47+(x(3)/2)))) + x(3) * sin (sqrt(abs(x(3)-(x(4)+47)))) + 9 | (x(5)+47) * sin(sqrt(abs(x(5)+47+(x(4)/2)))) + x(4) * sin (sqrt(abs(x(4)-(x(5)+47)))) 10 | ); 11 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/ex4_1_5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [ -5,1.e8]; 3 | x2 in [-1.e8, 5]; 4 | 5 | 6 | 7 | minimize 2*x1^2 - 1.05*x1^4 + 0.166666666666667*x1^6 - x1*x2 + x2^2; 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/ex8_1_1.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [ -1, 2]; 4 | x2 in [-1, 1]; 5 | 6 | 7 | 8 | 9 | minimize cos(x1)*sin(x2) - x1/(1 + x2^2); 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/ex8_1_2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [ 0, 6.28318]; 4 | 5 | 6 | minimize 588600/(10.8095222429746 - 4.21478541710781*cos(x1 - 7 | 2.09439333333333))^6 - 1079.1/(10.8095222429746 - 8 | 4.21478541710781*cos(x1 - 2.09439333333333))^3 + 600800/( 9 | 10.8095222429746 - 4.21478541710781*cos(x1))^6 - 1071.5/( 10 | 10.8095222429746 - 4.21478541710781*cos(x1))^3 + 481300/( 11 | 10.8095222429746 - 4.21478541710781*cos(2.09439333333333 + x1))^6 12 | - 1064.6/(10.8095222429746 - 4.21478541710781*cos( 13 | 2.09439333333333 + x1))^3; 14 | 15 | 16 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/ex8_1_4-1.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [-1.e8,1.e8]; 3 | x2 in [-1.e8,1.e8]; 4 | 5 | 6 | minimize 12*x1^2 - 6.3*x1^4 + x1^6 - 6*x1*x2 + 6*x2^2; 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/ex8_1_4.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 ; 3 | x2 ; 4 | 5 | 6 | minimize 12*x1^2 - 6.3*x1^4 + x1^6 - 6*x1*x2 + 6*x2^2; 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/ex8_1_6-inf.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 ; 3 | x2 ; 4 | 5 | minimize (-1/(0.1 + (x1 - 4)^2 + (x2 - 4)^2)) - 1/(0.2 + (x1 - 1)^2 + (x2 6 | - 1)^2) - 1/(0.2 + (x1 - 8)^2 + (x2 - 8)^2); 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/ex8_1_6.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 ; 3 | x2 ; 4 | 5 | minimize (-1/(0.1 + (x1 - 4)^2 + (x2 - 4)^2)) - 1/(0.2 + (x1 - 1)^2 + (x2 6 | - 1)^2) - 1/(0.2 + (x1 - 8)^2 + (x2 - 8)^2); 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/exuncons1.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x in [-10,10]; 3 | y in [-10,10]; 4 | minimize x+y; 5 | 6 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/f1.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-10,10]; 4 | x2 in [-10,10]; 5 | x3 in [-10,10]; 6 | 7 | 8 | 9 | 10 | minimize x1^2+x2^2+x3^2; 11 | 12 | 13 | end 14 | 15 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/f2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [0,10]; 4 | 5 | 6 | 7 | 8 | minimize x1^0.1; 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/griewank10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-600,600]; 4 | x2 in [-600,600]; 5 | x3 in [-600,600]; 6 | x4 in [-600,600]; 7 | x5 in [-600,600]; 8 | x6 in [-600,600]; 9 | x7 in [-600,600]; 10 | x8 in [-600,600]; 11 | x9 in [-600,600]; 12 | x10 in [-600,600]; 13 | 14 | 15 | minimize 16 | 1/4000 * (x1^2 + x2^2 + x3^2 + x4^2 +x5^2+ x6^2+ x7^2 + x8^2 +x9^2 + x10^2) - cos (x1) * cos (x2/sqrt(2)) * cos (x3 / sqrt(3)) * cos (x4/2) * cos(x5/sqrt(5)) * cos(x6/sqrt(6)) * cos(x7/sqrt(7)) * cos(x8/sqrt(8)) * cos (x9/3)* cos(x10/sqrt(10)) + 1; 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/griewank5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-100,100]; 4 | x2 in [-100,100]; 5 | x3 in [-100,100]; 6 | x4 in [-100,100]; 7 | x5 in [-100,100]; 8 | 9 | minimize 10 | 11 | 1/4000 * (x1^2 + x2^2 + x3^2 + x4^2) - cos (x1) * cos (x2/sqrt(2)) * cos (x3 / sqrt(3)) * cos (x4/2) + 1; 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/himmelblau.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-6,6]; 4 | x2 in [-6,6]; 5 | 6 | minimize (x1^2 + x2 -11)^2 + (x1+ x2^2 -7)^2 -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/infinity10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[10] in [-1,1]; 4 | 5 | minimize 6 | 7 | x(1)^6 * (sin(1/x(1)) + 2) 8 | + x(2)^6 * (sin(1/x(2)) + 2) 9 | + x(3)^6 * (sin(1/x(3)) + 2) 10 | + x(4)^6 * (sin(1/x(4)) + 2) 11 | + x(5)^6 * (sin(1/x(5)) + 2) 12 | + x(6)^6 * (sin(1/x(6)) + 2) 13 | + x(7)^6 * (sin(1/x(7)) + 2) 14 | + x(8)^6 * (sin(1/x(8)) + 2) 15 | + x(9)^6 * (sin(1/x(9)) + 2) 16 | + x(10)^6 * (sin(1/x(10)) + 2) 17 | 18 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/infinity20.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[20] in [-1,1]; 4 | 5 | minimize 6 | 7 | x(1)^6 * (sin(1/x(1)) + 2) 8 | + x(2)^6 * (sin(1/x(2)) + 2) 9 | + x(3)^6 * (sin(1/x(3)) + 2) 10 | + x(4)^6 * (sin(1/x(4)) + 2) 11 | + x(5)^6 * (sin(1/x(5)) + 2) 12 | + x(6)^6 * (sin(1/x(6)) + 2) 13 | + x(7)^6 * (sin(1/x(7)) + 2) 14 | + x(8)^6 * (sin(1/x(8)) + 2) 15 | + x(9)^6 * (sin(1/x(9)) + 2) 16 | + x(10)^6 * (sin(1/x(10)) + 2) 17 | + x(11)^6 * (sin(1/x(11)) + 2) 18 | + x(12)^6 * (sin(1/x(12)) + 2) 19 | + x(13)^6 * (sin(1/x(13)) + 2) 20 | + x(14)^6 * (sin(1/x(14)) + 2) 21 | + x(15)^6 * (sin(1/x(15)) + 2) 22 | + x(16)^6 * (sin(1/x(16)) + 2) 23 | + x(17)^6 * (sin(1/x(17)) + 2) 24 | + x(18)^6 * (sin(1/x(18)) + 2) 25 | + x(19)^6 * (sin(1/x(19)) + 2) 26 | + x(20)^6 * (sin(1/x(20)) + 2) 27 | 28 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/keane-2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[2] in [0,10]; 4 | 5 | minimize 6 | -(abs(cos(x(1))^4 + cos(x(2))^4 - 2 * cos(x(1))^2 * cos(x(2))^2) / sqrt(x(1)^2 + 2 * x(2)^2)); 7 | 8 | constraints 9 | x(1)*x(2) >= 0.75; 10 | x(1)+x(2) <= 15; 11 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/keane-3.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[3] in [0,10]; 4 | 5 | minimize 6 | -(abs(cos(x(1))^4 + cos(x(2))^4 + cos(x(3))^4 - 2 * cos(x(1))^2 * cos(x(2))^2 * cos(x(3))^2 ) / sqrt(x(1)^2 + 2 * x(2)^2 + 3 *x(3)^2 )); 7 | 8 | constraints 9 | x(1)*x(2)*x(3) >= 0.75; 10 | x(1)+x(2)+x(3) <= 22.5; 11 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/keane-4.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[4] in [0,10]; 4 | 5 | minimize 6 | -(abs(cos(x(1))^4 + cos(x(2))^4 + cos(x(3))^4 + cos(x(4))^4- 2 * cos(x(1))^2 * cos(x(2))^2 * cos(x(3))^2 * cos(x(4))^2) / sqrt(x(1)^2 + 2 * x(2)^2 + 3 *x(3)^2 + 4 * x(4)^2 )); 7 | 8 | constraints 9 | x(1)*x(2)*x(3)*x(4)>= 0.75; 10 | x(1)+x(2)+x(3)+x(4) <= 30; 11 | end -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/levy10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[10] in [-10,10 ]; 3 | 4 | minimize 5 | (sin(pi* (1+(x(1)-1)/4)))^2 6 | + ((x(1)-1)/4)^2 * (1+10 * (sin (pi * (1+(x(2)-1)/4)))^2) 7 | + ((x(2)-1)/4)^2 * (1+10 * (sin (pi * (1+(x(3)-1)/4)))^2 ) 8 | + ((x(3)-1)/4)^2 * (1+10 * (sin (pi * (1+(x(4)-1)/4)))^2 ) 9 | + ((x(4)-1)/4)^2 * (1+10 * (sin (pi * (1+(x(5)-1)/4)))^2 ) 10 | + ((x(5)-1)/4)^2 * (1+10 * (sin (pi * (1+(x(6)-1)/4)))^2) 11 | + ((x(6)-1)/4)^2 * (1+10 * (sin (pi * (1+(x(7)-1)/4)))^2 ) 12 | + ((x(7)-1)/4)^2 * (1+10 * (sin (pi * (1+(x(8)-1)/4)))^2 ) 13 | + ((x(8)-1)/4)^2 * (1+10 * (sin (pi * (1+(x(9)-1)/4)))^2) 14 | + ((x(9)-1)/4)^2 * (1+10 * (sin (pi * (1+(x(10)-1)/4)))^2) 15 | +(( x(10)-1)/4)^2; 16 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/levy13-1.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-10,10]; 4 | x2 in [-10,10]; 5 | 6 | minimize 7 | (sin(3*pi*x1))^2 + (x1-1)^2*(1+(sin(3*pi*x2)))^2 + (x2-1) * (1+(sin(2*pi*x2)))^2 8 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/levy13.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-10,10]; 4 | x2 in [-10,10]; 5 | 6 | minimize 7 | (sin(3*pi*x1))^2 + (x1-1)^2*(1+(sin(3*pi*x2)))^2 + (x2-1)^2 * (1+(sin(2*pi*x2)))^2 8 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/levy2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[2] in [-10,10 ]; 3 | 4 | minimize 5 | (sin(pi* (1+(x(1)-1)/4)))^2 6 | + ((x(1)-1)/4)^2 * (1+10 * (sin (pi * (1+(x(2)-1)/4)))^2) 7 | 8 | +(( x(2)-1)/4)^2 9 | 10 | ; 11 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/michalewicz-10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[10] in [0,pi]; 4 | minimize 5 | 6 | -( 7 | sin(x(1))*(sin(x(1)^2/pi))^20 + 8 | sin(x(2))*(sin(2*x(2)^2/pi))^20 + 9 | sin(x(3))*(sin(3*x(3)^2/pi))^20 + 10 | sin(x(4))*(sin(4*x(4)^2/pi))^20 + 11 | sin(x(5))*(sin(5*x(5)^2/pi))^20 + 12 | sin(x(6))*(sin(6*x(6)^2/pi))^20 + 13 | sin(x(7))*(sin(7*x(7)^2/pi))^20 + 14 | sin(x(8))*(sin(8*x(8)^2/pi))^20 + 15 | sin(x(9))*(sin(9*x(9)^2/pi))^20 + 16 | sin(x(10))*(sin(10*x(10)^2/pi))^20) ; 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/michalewicz-11.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[11] in [0,pi]; 4 | minimize 5 | 6 | -( 7 | sin(x(1))*(sin(x(1)^2/pi))^20 + 8 | sin(x(2))*(sin(2*x(2)^2/pi))^20 + 9 | sin(x(3))*(sin(3*x(3)^2/pi))^20 + 10 | sin(x(4))*(sin(4*x(4)^2/pi))^20 + 11 | sin(x(5))*(sin(5*x(5)^2/pi))^20 + 12 | sin(x(6))*(sin(6*x(6)^2/pi))^20 + 13 | sin(x(7))*(sin(7*x(7)^2/pi))^20 + 14 | sin(x(8))*(sin(8*x(8)^2/pi))^20 + 15 | sin(x(9))*(sin(9*x(9)^2/pi))^20 + 16 | sin(x(10))*(sin(10*x(10)^2/pi))^20 + 17 | sin(x(11))*(sin(11*x(11)^2/pi))^20) ; 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/michalewicz-12.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[12] in [0,pi]; 4 | 5 | minimize 6 | -( 7 | sin(x(1))*(sin(x(1)^2/pi))^20 + 8 | sin(x(2))*(sin(2*x(2)^2/pi))^20 + 9 | sin(x(3))*(sin(3*x(3)^2/pi))^20 + 10 | sin(x(4))*(sin(4*x(4)^2/pi))^20 + 11 | sin(x(5))*(sin(5*x(5)^2/pi))^20 + 12 | sin(x(6))*(sin(6*x(6)^2/pi))^20 + 13 | sin(x(7))*(sin(7*x(7)^2/pi))^20 + 14 | sin(x(8))*(sin(8*x(8)^2/pi))^20 + 15 | sin(x(9))*(sin(9*x(9)^2/pi))^20 + 16 | sin(x(10))*(sin(10*x(10)^2/pi))^20 + 17 | sin(x(11))*(sin(11*x(11)^2/pi))^20 + 18 | sin(x(12))*(sin(12*x(12)^2/pi))^20) ; 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/michalewicz-13.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[13] in [0,pi]; 4 | minimize 5 | -( 6 | sin(x(1))*(sin(x(1)^2/pi))^20 + 7 | sin(x(2))*(sin(2*x(2)^2/pi))^20 + 8 | sin(x(3))*(sin(3*x(3)^2/pi))^20 + 9 | sin(x(4))*(sin(4*x(4)^2/pi))^20 + 10 | sin(x(5))*(sin(5*x(5)^2/pi))^20 + 11 | sin(x(6))*(sin(6*x(6)^2/pi))^20 + 12 | sin(x(7))*(sin(7*x(7)^2/pi))^20 + 13 | sin(x(8))*(sin(8*x(8)^2/pi))^20 + 14 | sin(x(9))*(sin(9*x(9)^2/pi))^20 + 15 | sin(x(10))*(sin(10*x(10)^2/pi))^20 + 16 | sin(x(11))*(sin(11*x(11)^2/pi))^20 + 17 | sin(x(12))*(sin(12*x(12)^2/pi))^20 + 18 | sin(x(13))*(sin(13*x(13)^2/pi))^20) ; 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/michalewicz-14.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[14] in [0,pi]; 4 | minimize 5 | -( 6 | sin(x(1))*(sin(x(1)^2/pi))^20 + 7 | sin(x(2))*(sin(2*x(2)^2/pi))^20 + 8 | sin(x(3))*(sin(3*x(3)^2/pi))^20 + 9 | sin(x(4))*(sin(4*x(4)^2/pi))^20 + 10 | sin(x(5))*(sin(5*x(5)^2/pi))^20 + 11 | sin(x(6))*(sin(6*x(6)^2/pi))^20 + 12 | sin(x(7))*(sin(7*x(7)^2/pi))^20 + 13 | sin(x(8))*(sin(8*x(8)^2/pi))^20 + 14 | sin(x(9))*(sin(9*x(9)^2/pi))^20 + 15 | sin(x(10))*(sin(10*x(10)^2/pi))^20 + 16 | sin(x(11))*(sin(11*x(11)^2/pi))^20 + 17 | sin(x(12))*(sin(12*x(12)^2/pi))^20 + 18 | sin(x(13))*(sin(13*x(13)^2/pi))^20 + 19 | sin(x(14))*(sin(14*x(14)^2/pi))^20) ; 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/michalewicz-15.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[15] in [0,pi]; 4 | 5 | minimize 6 | -( 7 | sin(x(1))*(sin(x(1)^2/pi))^20 + 8 | sin(x(2))*(sin(2*x(2)^2/pi))^20 + 9 | sin(x(3))*(sin(3*x(3)^2/pi))^20 + 10 | sin(x(4))*(sin(4*x(4)^2/pi))^20 + 11 | sin(x(5))*(sin(5*x(5)^2/pi))^20 + 12 | sin(x(6))*(sin(6*x(6)^2/pi))^20 + 13 | sin(x(7))*(sin(7*x(7)^2/pi))^20 + 14 | sin(x(8))*(sin(8*x(8)^2/pi))^20 + 15 | sin(x(9))*(sin(9*x(9)^2/pi))^20 + 16 | sin(x(10))*(sin(10*x(10)^2/pi))^20 + 17 | sin(x(11))*(sin(11*x(11)^2/pi))^20 + 18 | sin(x(12))*(sin(12*x(12)^2/pi))^20 + 19 | sin(x(13))*(sin(13*x(13)^2/pi))^20 + 20 | sin(x(14))*(sin(14*x(14)^2/pi))^20 + 21 | sin(x(15))*(sin(15*x(15)^2/pi))^20 ); 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/michalewicz-16.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[16] in [0,pi]; 4 | 5 | minimize 6 | -( 7 | sin(x(1))*(sin(x(1)^2/pi))^20 + 8 | sin(x(2))*(sin(2*x(2)^2/pi))^20 + 9 | sin(x(3))*(sin(3*x(3)^2/pi))^20 + 10 | sin(x(4))*(sin(4*x(4)^2/pi))^20 + 11 | sin(x(5))*(sin(5*x(5)^2/pi))^20 + 12 | sin(x(6))*(sin(6*x(6)^2/pi))^20 + 13 | sin(x(7))*(sin(7*x(7)^2/pi))^20 + 14 | sin(x(8))*(sin(8*x(8)^2/pi))^20 + 15 | sin(x(9))*(sin(9*x(9)^2/pi))^20 + 16 | sin(x(10))*(sin(10*x(10)^2/pi))^20 + 17 | sin(x(11))*(sin(11*x(11)^2/pi))^20 + 18 | sin(x(12))*(sin(12*x(12)^2/pi))^20 + 19 | sin(x(13))*(sin(13*x(13)^2/pi))^20 + 20 | sin(x(14))*(sin(14*x(14)^2/pi))^20 + 21 | sin(x(15))*(sin(15*x(15)^2/pi))^20 + 22 | sin(x(16))*(sin(16*x(16)^2/pi))^20); 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/michalewicz-17.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[17] in [0,pi]; 4 | 5 | minimize 6 | -( 7 | sin(x(1))*(sin(x(1)^2/pi))^20 + 8 | sin(x(2))*(sin(2*x(2)^2/pi))^20 + 9 | sin(x(3))*(sin(3*x(3)^2/pi))^20 + 10 | sin(x(4))*(sin(4*x(4)^2/pi))^20 + 11 | sin(x(5))*(sin(5*x(5)^2/pi))^20 + 12 | sin(x(6))*(sin(6*x(6)^2/pi))^20 + 13 | sin(x(7))*(sin(7*x(7)^2/pi))^20 + 14 | sin(x(8))*(sin(8*x(8)^2/pi))^20 + 15 | sin(x(9))*(sin(9*x(9)^2/pi))^20 + 16 | sin(x(10))*(sin(10*x(10)^2/pi))^20 + 17 | sin(x(11))*(sin(11*x(11)^2/pi))^20 + 18 | sin(x(12))*(sin(12*x(12)^2/pi))^20 + 19 | sin(x(13))*(sin(13*x(13)^2/pi))^20 + 20 | sin(x(14))*(sin(14*x(14)^2/pi))^20 + 21 | sin(x(15))*(sin(15*x(15)^2/pi))^20 + 22 | sin(x(16))*(sin(16*x(16)^2/pi))^20 + 23 | sin(x(17))*(sin(17*x(17)^2/pi))^20); 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/michalewicz-18.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[18] in [0,pi]; 4 | 5 | minimize 6 | -( 7 | sin(x(1))*(sin(x(1)^2/pi))^20 + 8 | sin(x(2))*(sin(2*x(2)^2/pi))^20 + 9 | sin(x(3))*(sin(3*x(3)^2/pi))^20 + 10 | sin(x(4))*(sin(4*x(4)^2/pi))^20 + 11 | sin(x(5))*(sin(5*x(5)^2/pi))^20 + 12 | sin(x(6))*(sin(6*x(6)^2/pi))^20 + 13 | sin(x(7))*(sin(7*x(7)^2/pi))^20 + 14 | sin(x(8))*(sin(8*x(8)^2/pi))^20 + 15 | sin(x(9))*(sin(9*x(9)^2/pi))^20 + 16 | sin(x(10))*(sin(10*x(10)^2/pi))^20 + 17 | sin(x(11))*(sin(11*x(11)^2/pi))^20 + 18 | sin(x(12))*(sin(12*x(12)^2/pi))^20 + 19 | sin(x(13))*(sin(13*x(13)^2/pi))^20 + 20 | sin(x(14))*(sin(14*x(14)^2/pi))^20 + 21 | sin(x(15))*(sin(15*x(15)^2/pi))^20 + 22 | sin(x(16))*(sin(16*x(16)^2/pi))^20 + 23 | sin(x(17))*(sin(17*x(17)^2/pi))^20 + 24 | sin(x(18))*(sin(18*x(18)^2/pi))^20); 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/mishra01-10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[10] in [0,1]; 3 | 4 | minimize 5 | (1+10-(x(1)+x(2)+x(3)+x(4)+x(5)+x(6)+x(7)+x(8)+x(9)))^(10-(x(1)+x(2)+x(3)+x(4)+x(5)+x(6)+x(7)+x(8)+x(9))); 6 | 7 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/mishra01-2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[10] in [0,1]; 3 | 4 | minimize 5 | (1+10-(x(1)+x(2)+x(3)+x(4)+x(5)+x(6)+x(7)+x(8)+x(9)))^(2-(x(1)+x(2)+x(3)+x(4)+x(5)+x(6)+x(7)+x(8)+x(9))); 6 | 7 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/mishra02-10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[10] in [0,1]; 3 | 4 | minimize 5 | (1+10-(x(1)/2+x(2)+x(3)+x(4)+x(5)+x(6)+x(7)+x(8)+x(9)+x(10)/2))^(10-(x(1)/2+x(2)+x(3)+x(4)+x(5)+x(6)+x(7)+x(8)+x(9)+x(10)/2)); 6 | 7 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/multimodal10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[10] in [-10,10]; 4 | 5 | minimize 6 | (abs(x(1))+abs(x(2))+abs(x(3))+abs(x(4))+abs(x(5))+abs(x(6))+abs(x(7))+abs(x(8))+abs(x(9))+abs(x(10))) 7 | * (abs(x(1))*abs(x(2))*abs(x(3))*abs(x(4))*abs(x(5))*abs(x(6))*abs(x(7))*abs(x(8))*abs(x(9))*abs(x(10))) 8 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/paviani10.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x[10] in [2.0001,10]; 5 | 6 | minimize 7 | 8 | (ln((x(1)-2)))^2 + (ln (10-x(1)))^2 9 | + (ln((x(2)-2)))^2 + (ln (10-x(2)))^2 10 | + (ln((x(3)-2)))^2 + (ln (10-x(3)))^2 11 | + (ln((x(4)-2)))^2 + (ln (10-x(4)))^2 12 | + (ln((x(5)-2)))^2 + (ln (10-x(5)))^2 13 | + (ln((x(6)-2)))^2 + (ln (10-x(6)))^2 14 | + (ln((x(7)-2)))^2 + (ln (10-x(7)))^2 15 | + (ln((x(8)-2)))^2 + (ln (10-x(8)))^2 16 | + (ln((x(9)-2)))^2 + (ln (10-x(9)))^2 17 | + (ln((x(10)-2)))^2 + (ln (10-x(10)))^2 18 | - (x(1)*x(2)*x(3)*x(4)*x(5)*x(6)*x(7)*x(8)*x(9)*x(10))^0.2 19 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/quintic10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[10] in [-10,10]; 4 | 5 | minimize 6 | 7 | abs(x(1)^5-3*x(1)^4+4*x(1)^3+2*x(1)-10*x(1)-4) 8 | + abs(x(2)^5-3*x(2)^4+4*x(2)^3+2*x(2)-10*x(2)-4) 9 | + abs(x(3)^5-3*x(3)^4+4*x(3)^3+2*x(3)-10*x(3)-4) 10 | + abs(x(4)^5-3*x(4)^4+4*x(4)^3+2*x(4)-10*x(4)-4) 11 | + abs(x(5)^5-3*x(5)^4+4*x(5)^3+2*x(5)-10*x(5)-4) 12 | + abs(x(6)^5-3*x(6)^4+4*x(6)^3+2*x(6)-10*x(6)-4) 13 | + abs(x(7)^5-3*x(7)^4+4*x(7)^3+2*x(7)-10*x(7)-4) 14 | + abs(x(8)^5-3*x(8)^4+4*x(8)^3+2*x(8)-10*x(8)-4) 15 | + abs(x(9)^5-3*x(9)^4+4*x(9)^3+2*x(9)-10*x(9)-4) 16 | + abs(x(10)^5-3*x(10)^4+4*x(10)^3+2*x(10)-10*x(10)-4); 17 | 18 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/quintic12.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[12] in [-10,10]; 4 | 5 | minimize 6 | 7 | abs(x(1)^5-3*x(1)^4+4*x(1)^3+2*x(1)-10*x(1)-4) 8 | + abs(x(2)^5-3*x(2)^4+4*x(2)^3+2*x(2)-10*x(2)-4) 9 | + abs(x(3)^5-3*x(3)^4+4*x(3)^3+2*x(3)-10*x(3)-4) 10 | + abs(x(4)^5-3*x(4)^4+4*x(4)^3+2*x(4)-10*x(4)-4) 11 | + abs(x(5)^5-3*x(5)^4+4*x(5)^3+2*x(5)-10*x(5)-4) 12 | + abs(x(6)^5-3*x(6)^4+4*x(6)^3+2*x(6)-10*x(6)-4) 13 | + abs(x(7)^5-3*x(7)^4+4*x(7)^3+2*x(7)-10*x(7)-4) 14 | + abs(x(8)^5-3*x(8)^4+4*x(8)^3+2*x(8)-10*x(8)-4) 15 | + abs(x(9)^5-3*x(9)^4+4*x(9)^3+2*x(9)-10*x(9)-4) 16 | + abs(x(10)^5-3*x(10)^4+4*x(10)^3+2*x(10)-10*x(10)-4) 17 | + abs(x(11)^5-3*x(11)^4+4*x(11)^3+2*x(11)-10*x(11)-4) 18 | + abs(x(12)^5-3*x(12)^4+4*x(12)^3+2*x(12)-10*x(12)-4) 19 | ; 20 | 21 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/rana10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[10]in [-500.000001,500.000001]; 4 | 5 | minimize 6 | 7 | x(1)*sin ( sqrt (abs (x(1)-x(1)+1))) * cos (sqrt (abs (x(1) + x(1)+1))) + (x(1)+1) * sin (sqrt (abs (x(1) + x(1)+1))) 8 | * cos ( sqrt (abs (x(1)-x(1)+1))) 9 | + x(1)*sin ( sqrt (abs (x(1)-x(2)+1))) * cos (sqrt (abs (x(1) + x(2)+1))) + (x(1)+1) * sin (sqrt (abs (x(1) + x(2)+1))) 10 | * cos ( sqrt (abs (x(1)-x(2)+1))) -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/rana2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[2]in [-512,512]; 4 | 5 | minimize 6 | 7 | 8 | (x(2)+1) * sin (sqrt (abs (x(1) + x(2)+1))) * cos (sqrt (abs (x(2)- x(1)+1))) + 9 | x(1) * cos (sqrt (abs (x(1) + x(2)+1))) * sin (sqrt (abs (x(2)- x(1)+1))) 10 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/rana3.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[3]in [-512,512]; 4 | 5 | minimize 6 | 7 | 8 | (x(2)+1) * sin (sqrt (abs (x(1) + x(2)+1))) * cos (sqrt (abs (x(2)- x(1)+1))) + 9 | x(1) * cos (sqrt (abs (x(1) + x(2)+1))) * sin (sqrt (abs (x(2)- x(1)+1))) + 10 | (x(3)+1) * sin (sqrt (abs (x(2) + x(3)+1))) * cos (sqrt (abs (x(3)- x(2)+1))) + 11 | x(2) * cos (sqrt (abs (x(2) + x(3)+1))) * sin (sqrt (abs (x(3)- x(2)+1))) 12 | 13 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/rana4.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[4]in [-512,512]; 4 | 5 | minimize 6 | 7 | 8 | (x(2)+1) * sin (sqrt (abs (x(1) + x(2)+1))) * cos (sqrt (abs (x(2)- x(1)+1))) + 9 | x(1) * cos (sqrt (abs (x(1) + x(2)+1))) * sin (sqrt (abs (x(2)- x(1)+1))) + 10 | (x(3)+1) * sin (sqrt (abs (x(2) + x(3)+1))) * cos (sqrt (abs (x(3)- x(2)+1))) + 11 | x(2) * cos (sqrt (abs (x(2) + x(3)+1))) * sin (sqrt (abs (x(3)- x(2)+1))) + 12 | (x(4)+1) * sin (sqrt (abs (x(3) + x(4)+1))) * cos (sqrt (abs (x(4)- x(3)+1))) + 13 | x(3) * cos (sqrt (abs (x(3) + x(4)+1))) * sin (sqrt (abs (x(4)- x(3)+1))) 14 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/rana5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[5]in [-512,512]; 4 | 5 | minimize 6 | 7 | 8 | (x(2)+1) * sin (sqrt (abs (x(1) + x(2)+1))) * cos (sqrt (abs (x(2)- x(1)+1))) + 9 | x(1) * cos (sqrt (abs (x(1) + x(2)+1))) * sin (sqrt (abs (x(2)- x(1)+1))) + 10 | (x(3)+1) * sin (sqrt (abs (x(2) + x(3)+1))) * cos (sqrt (abs (x(3)- x(2)+1))) + 11 | x(2) * cos (sqrt (abs (x(2) + x(3)+1))) * sin (sqrt (abs (x(3)- x(2)+1))) + 12 | (x(4)+1) * sin (sqrt (abs (x(3) + x(4)+1))) * cos (sqrt (abs (x(4)- x(3)+1))) + 13 | x(3) * cos (sqrt (abs (x(3) + x(4)+1))) * sin (sqrt (abs (x(4)- x(3)+1))) + 14 | (x(5)+1) * sin (sqrt (abs (x(4) + x(5)+1))) * cos (sqrt (abs (x(5)- x(4)+1))) + 15 | x(3) * cos (sqrt (abs (x(4) + x(5)+1))) * sin (sqrt (abs (x(5)- x(4)+1))) 16 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/rastrigin10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-10,10]; 4 | x2 in [-10,10]; 5 | x3 in [-10,10]; 6 | x4 in [-10,10]; 7 | x5 in [-10,10]; 8 | x6 in [-10,10]; 9 | x7 in [-10,10]; 10 | x8 in [-10,10]; 11 | x9 in [-10,10]; 12 | x10 in [-10,10]; 13 | 14 | minimize 15 | 300 + x1^2 + x2 ^2 + x3 ^2 + x4^2 + x5^2 +x6^2 + x7 ^2 + x8 ^2 + x9^2 + x10^2 - 10 *cos (2*pi*x1) - 10 *cos (2*pi*x2) - 10 *cos (2*pi*x3) - 10 *cos (2*pi*x4) - 10 *cos (2*pi*x5) - 10 *cos (2*pi*x6) - 10 *cos (2*pi*x7) - 10 *cos (2*pi*x8) - 10 *cos (2*pi*x9) - 10 *cos (2*pi*x10); 16 | 17 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/rastrigin5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-10,10]; 4 | x2 in [-10,10]; 5 | x3 in [-10,10]; 6 | x4 in [-10,10]; 7 | x5 in [-10,10]; 8 | 9 | 10 | 11 | 12 | minimize 50 + x1^2 + x2 ^2 + x3 ^2 + x4^2 + x5^2 - 10 *cos (2*pi*x1) - 10 *cos (2*pi*x2) - 10 *cos (2*pi*x3) 13 | - 10 *cos (2*pi*x4) - 10 *cos (2*pi*x5) ; 14 | 15 | 16 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/rosenbrock10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-5,5]; 4 | x2 in [-5,5]; 5 | x3 in [-5,5]; 6 | x4 in [-5,5]; 7 | x5 in [-5,5]; 8 | x6 in [-5,5]; 9 | x7 in [-5,5]; 10 | x8 in [-5,5]; 11 | x9 in [-5,5]; 12 | x10 in [-5,5]; 13 | 14 | 15 | 16 | 17 | 18 | minimize 100*(x2^2-x1)^2 + (1-x1)^2 + 100*(x3^2-x2)^2 + (1-x2)^2 + 100*(x4^2-x3)^2 + (1-x3)^2 + 100*(x5^2-x4)^2 + (1-x4)^2 + 100*(x6^2-x5)^2 + (1-x5)^2 + 100*(x7^2-x6)^2 + (1-x6)^2 + 100*(x8^2-x7)^2 + (1-x7)^2 + 100*(x9^2-x8)^2 + (1-x8)^2 + 100*(x10^2-x9)^2 + (1-x9)^2; 19 | 20 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/rosenbrock2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-2.048,2.048]; 4 | x2 in [-2.048,2.048]; 5 | 6 | minimize 7 | 8 | 100 * (x2 - x1^2)^2 + (1 -x1) ^ 2; 9 | 10 | 11 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schaffer2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-100,100]; 4 | x2 in [-100,100]; 5 | 6 | 7 | minimize 8 | 9 | 0.5 + ((sin (sqrt (x1^2 + x2^2)))^2 - 0.5) /( (1 + 0.0001 * (x1^2 + x2^2))^2); 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schaffer5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-100,100]; 4 | x2 in [-100,100]; 5 | 6 | 7 | minimize 8 | 9 | 0.5 + ((sin (sqrt (x1^2 + x2^2)))^2 - 0.5) /( (1 + 0.0001 * (x1^2 + x2^2))^2); 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schafferf6.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-100,100]; 4 | x2 in [-100,100]; 5 | 6 | 7 | minimize 8 | 9 | 0.5 + ((sin (sqrt (x1^2 + x2^2)))^2 - 0.5) /( (1 + 0.0001 * (x1^2 + x2^2))^2); 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schafferf7-10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-100,100]; 4 | x2 in [-100,100]; 5 | x3 in [-100,100]; 6 | x4 in [-100,100]; 7 | x5 in [-100,100]; 8 | x6 in [-100,100]; 9 | x7 in [-100,100]; 10 | x8 in [-100,100]; 11 | x9 in [-100,100]; 12 | x10 in [-100,100]; 13 | 14 | minimize 15 | 16 | (x1^2+x2^2)^0.25 * ( (sin (50 * (x1^2+x2^2)^0.1))^2 +1) + 17 | (x2^2+x3^2)^0.25 * ( (sin (50 * (x2^2+x3^2)^0.1))^2 +1) + 18 | (x3^2+x4^2)^0.25 * ( (sin (50 * (x3^2+x4^2)^0.1))^2 +1) + 19 | (x4^2+x5^2)^0.25 * ( (sin (50 * (x4^2+x5^2)^0.1))^2 +1) + 20 | (x5^2+x6^2)^0.25 * ( (sin (50 * (x5^2+x6^2)^0.1))^2 +1) + 21 | (x6^2+x7^2)^0.25 * ( (sin (50 * (x6^2+x7^2)^0.1))^2 +1) + 22 | (x7^2+x8^2)^0.25 * ( (sin (50 * (x7^2+x8^2)^0.1))^2 +1) + 23 | (x8^2+x9^2)^0.25 * ( (sin (50 * (x8^2+x9^2)^0.1))^2 +1) + 24 | (x9^2+x10^2)^0.25 * ( (sin (50 * (x9^2+x10^2)^0.1))^2 +1); -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schafferf7-5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-100,100]; 4 | x2 in [-100,100]; 5 | x3 in [-100,100]; 6 | x4 in [-100,100]; 7 | x5 in [-100,100]; 8 | 9 | 10 | minimize 11 | 12 | (x1^2+x2^2)^0.25 * ( (sin (50 * (x1^2+x2^2)^0.1))^2 +1) + 13 | (x2^2+x3^2)^0.25 * ( (sin (50 * (x2^2+x3^2)^0.1))^2 +1) + 14 | (x3^2+x4^2)^0.25 * ( (sin (50 * (x3^2+x4^2)^0.1))^2 +1) + 15 | (x4^2+x5^2)^0.25 * ( (sin (50 * (x4^2+x5^2)^0.1))^2 +1) ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schwefel-2-10.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x1 in [-100,100]; 5 | x2 in [-100,100]; 6 | x3 in [-100,100]; 7 | x4 in [-100,100]; 8 | x5 in [-100,100]; 9 | x6 in [-100,100]; 10 | x7 in [-100,100]; 11 | x8 in [-100,100]; 12 | x9 in [-100,100]; 13 | x10 in [-100,100]; 14 | 15 | 16 | 17 | minimize 18 | x1^2 + (x1+x2)^2 + (x1+x2+x3)^2 + (x1+x2+x3+x4)^2 + (x1+x2+x3+x4+x5)^2 + (x1+x2+x3+x4+x5+x6)^2 + 19 | (x1+x2+x3+x4+x5+x6+x7)^2 + (x1+x2+x3+x4+x5+x6+x7+x8)^2 + (x1+x2+x3+x4+x5+x6+x7+x8+x9)^2 +(x1+x2+x3+x4+x5+x6+x7+x8+x9 +x10)^2 ; 20 | 21 | 22 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schwefel-2-11.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x1 in [-100,100]; 5 | x2 in [-100,100]; 6 | x3 in [-100,100]; 7 | x4 in [-100,100]; 8 | x5 in [-100,100]; 9 | x6 in [-100,100]; 10 | x7 in [-100,100]; 11 | x8 in [-100,100]; 12 | x9 in [-100,100]; 13 | x10 in [-100,100]; 14 | x11 in [-100,100]; 15 | 16 | 17 | minimize 18 | x1^2 + (x1+x2)^2 + (x1+x2+x3)^2 + (x1+x2+x3+x4)^2 + (x1+x2+x3+x4+x5)^2 + (x1+x2+x3+x4+x5+x6)^2 + 19 | (x1+x2+x3+x4+x5+x6+x7)^2 + (x1+x2+x3+x4+x5+x6+x7+x8)^2 + (x1+x2+x3+x4+x5+x6+x7+x8+x9)^2 +(x1+x2+x3+x4+x5+x6+x7+x8+x9 +x10)^2 20 | +(x1+x2+x3+x4+x5+x6+x7+x8+x9 +x10 + x11)^2; 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schwefel-2-12.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x1 in [-100,100]; 5 | x2 in [-100,100]; 6 | x3 in [-100,100]; 7 | x4 in [-100,100]; 8 | x5 in [-100,100]; 9 | x6 in [-100,100]; 10 | x7 in [-100,100]; 11 | x8 in [-100,100]; 12 | x9 in [-100,100]; 13 | x10 in [-100,100]; 14 | x11 in [-100,100]; 15 | x12 in [-100,100]; 16 | 17 | minimize 18 | x1^2 + (x1+x2)^2 + (x1+x2+x3)^2 + (x1+x2+x3+x4)^2 + (x1+x2+x3+x4+x5)^2 + (x1+x2+x3+x4+x5+x6)^2 + 19 | (x1+x2+x3+x4+x5+x6+x7)^2 + (x1+x2+x3+x4+x5+x6+x7+x8)^2 + (x1+x2+x3+x4+x5+x6+x7+x8+x9)^2 +(x1+x2+x3+x4+x5+x6+x7+x8+x9 +x10)^2 20 | +(x1+x2+x3+x4+x5+x6+x7+x8+x9 +x10 + x11)^2 21 | +(x1+x2+x3+x4+x5+x6+x7+x8+x9 +x10 + x11+x12)^2 ; 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schwefel-2-13.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x1 in [-100,100]; 5 | x2 in [-100,100]; 6 | x3 in [-100,100]; 7 | x4 in [-100,100]; 8 | x5 in [-100,100]; 9 | x6 in [-100,100]; 10 | x7 in [-100,100]; 11 | x8 in [-100,100]; 12 | x9 in [-100,100]; 13 | x10 in [-100,100]; 14 | x11 in [-100,100]; 15 | x12 in [-100,100]; 16 | x13 in [-100,100]; 17 | 18 | 19 | minimize 20 | x1^2 + (x1+x2)^2 + (x1+x2+x3)^2 + (x1+x2+x3+x4)^2 + (x1+x2+x3+x4+x5)^2 + (x1+x2+x3+x4+x5+x6)^2 + 21 | (x1+x2+x3+x4+x5+x6+x7)^2 + (x1+x2+x3+x4+x5+x6+x7+x8)^2 + (x1+x2+x3+x4+x5+x6+x7+x8+x9)^2 +(x1+x2+x3+x4+x5+x6+x7+x8+x9 +x10)^2 22 | +(x1+x2+x3+x4+x5+x6+x7+x8+x9 +x10 + x11)^2 23 | +(x1+x2+x3+x4+x5+x6+x7+x8+x9 +x10 + x11+x12)^2 24 | +(x1+x2+x3+x4+x5+x6+x7+x8+x9 +x10 + x11+x12+x13)^2 ; 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schwefel-2-5.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x1 in [-500,500]; 5 | x2 in [-500,500]; 6 | x3 in [-500,500]; 7 | x4 in [-500,500]; 8 | x5 in [-500,500]; 9 | 10 | 11 | minimize 12 | 13 | 14 | x1^2 + (x1+x2)^2 + (x1+x2+x3)^2 + (x1+x2+x3+x4)^2 + (x1+x2+x3+x4+x5)^2 ; 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schwefel10.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x1 in [-500,500]; 5 | x2 in [-500,500]; 6 | x3 in [-500,500]; 7 | x4 in [-500,500]; 8 | x5 in [-500,500]; 9 | x6 in [-500,500]; 10 | x7 in [-500,500]; 11 | x8 in [-500,500]; 12 | x9 in [-500,500]; 13 | x10 in [-500,500]; 14 | 15 | minimize 16 | 418.98287272 * 10 - x1 * sin (sqrt( abs (x1))) - x2 * sin (sqrt( abs (x2))) 17 | - x3 * sin (sqrt( abs (x3))) - x4 * sin (sqrt( abs (x4))) - x5 * sin (sqrt( abs (x5))) - x6 * sin (sqrt( abs (x6))) - x7 * sin (sqrt( abs (x7))) 18 | - x8 * sin (sqrt( abs (x8))) - x9 * sin (sqrt( abs (x9))) - x10 * sin (sqrt( abs (x10))); 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schwefel11.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-500,500]; 4 | x2 in [-500,500]; 5 | x3 in [-500,500]; 6 | x4 in [-500,500]; 7 | x5 in [-500,500]; 8 | x6 in [-500,500]; 9 | x7 in [-500,500]; 10 | x8 in [-500,500]; 11 | x9 in [-500,500]; 12 | x10 in [-500,500]; 13 | x11 in [-500,500]; 14 | 15 | 16 | 17 | minimize 18 | 418.9829 * 11 - x1 * sin (sqrt (abs (x1))) - x2 * sin (sqrt (abs (x2))) 19 | - x3 * sin (sqrt (abs (x3))) - x4 * sin (sqrt (abs (x4))) - x5 * sin (sqrt (abs (x5))) - x6 * sin (sqrt (abs (x6))) - x7 * sin (sqrt (abs (x7))) 20 | - x8 * sin (sqrt (abs (x8))) - x9 * sin (sqrt (abs (x9))) - x10 * sin (sqrt (abs (x10)))- x11 * sin (sqrt (abs (x11))); 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schwefel12.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x1 in [-500,500]; 5 | x2 in [-500,500]; 6 | x3 in [-500,500]; 7 | x4 in [-500,500]; 8 | x5 in [-500,500]; 9 | x6 in [-500,500]; 10 | x7 in [-500,500]; 11 | x8 in [-500,500]; 12 | x9 in [-500,500]; 13 | x10 in [-500,500]; 14 | x11 in [-500,500]; 15 | x12 in [-500,500]; 16 | 17 | 18 | 19 | minimize 20 | 418.9829 * 12 - x1 * sin (sqrt (abs (x1))) - x2 * sin (sqrt (abs (x2))) 21 | - x3 * sin (sqrt (abs (x3))) - x4 * sin (sqrt (abs (x4))) - x5 * sin (sqrt (abs (x5))) - x6 * sin (sqrt (abs (x6))) - x7 * sin (sqrt (abs (x7))) 22 | - x8 * sin (sqrt (abs (x8))) - x9 * sin (sqrt (abs (x9))) - x10 * sin (sqrt (abs (x10)))- x11 * sin (sqrt (abs (x11))) 23 | - x12 * sin (sqrt (abs (x12))); 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/schwefel5.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x1 in [-500,500]; 5 | x2 in [-500,500]; 6 | x3 in [-500,500]; 7 | x4 in [-500,500]; 8 | x5 in [-500,500]; 9 | 10 | minimize 11 | 418.982887272 *5 - x1 * sin (sqrt (abs(x1))) - x2 * sin (sqrt(abs (x2))) 12 | - x3 * sin (sqrt(abs(x3))) - x4 * sin (sqrt(abs (x4))) - x5 * sin (sqrt(abs (x5))); 13 | 14 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/shifted-rastrigin-10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-10,10]; 4 | x2 in [-10,10]; 5 | x3 in [-10,10]; 6 | x4 in [-10,10]; 7 | x5 in [-10,10]; 8 | x6 in [-10,10]; 9 | x7 in [-10,10]; 10 | x8 in [-10,10]; 11 | x9 in [-10,10]; 12 | x10 in [-10,10]; 13 | 14 | minimize 15 | 300 + x1^2 + x2 ^2 + x3 ^2 + x4^2 + x5^2 +x6^2 + x7 ^2 + x8 ^2 + x9^2 + x10^2 - 10 *cos (2*pi*x1) - 10 *cos (2*pi*x2) - 10 *cos (2*pi*x3) - 10 *cos (2*pi*x4) - 10 *cos (2*pi*x5) - 10 *cos (2*pi*x6) - 10 *cos (2*pi*x7) - 10 *cos (2*pi*x8) - 10 *cos (2*pi*x9) - 10 *cos (2*pi*x10); 16 | 17 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/sineenveloppe2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[2] in [-100,100]; 4 | 5 | minimize 6 | 7 | -( (sin (sqrt (x(1)^2 + x(2)^2)- 0.5)^2) / ( (0.001 * (x(1)^2 + x(2)^2) + 1)^2) + 0.5) 8 | 9 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/sineenveloppe5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[5] in [-100,100]; 4 | 5 | minimize 6 | 7 | -( (sin (sqrt (x(1)^2 + x(2)^2)- 0.5)^2) / ( (0.001 * (x(1)^2 + x(2)^2) + 1)^2) + 0.5 8 | + (sin (sqrt (x(2)^2 + x(3)^2)- 0.5)^2) / ( (0.001 * (x(2)^2 + x(3)^2) + 1)^2) + 0.5 9 | + (sin (sqrt (x(3)^2 + x(4)^2)- 0.5)^2) / ( (0.001 * (x(3)^2 + x(4)^2) + 1)^2) + 0.5 10 | + (sin (sqrt (x(4)^2 + x(5)^2)- 0.5)^2) / ( (0.001 * (x(4)^2 + x(5)^2) + 1)^2) + 0.5 ) 11 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/sixhumcamelback.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [-30,30]; 3 | x2 in [-30,30]; 4 | 5 | 6 | minimize 7 | 4 * x1^2 - 2.1 * x1^4+ 1/3*x1^6 +x1*x2 -4*x2^2 +4*x2^4; 8 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/sodp10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[10] in [-1,1]; 4 | 5 | minimize 6 | 7 | abs (x(1)^2) + abs(x(2)^3) + abs (x(3)^4) + abs(x(4)^5) +abs (x(5)^6) + abs(x(6)^7) +abs (x(7)^8) + abs (x(8)^9 ) 8 | + abs (x(9)^10 ) + abs (x(10)^11) ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/sodp2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[10] in [-1,1]; 4 | 5 | minimize 6 | 7 | abs (x(1)^2) + abs(x(2)^3) ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/sodp20.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[20] in [-1,1]; 4 | 5 | minimize 6 | 7 | abs (x(1)^2) + abs(x(2)^3) + abs (x(3)^4) + abs(x(4)^5) +abs (x(5)^6) + abs(x(6)^7) +abs (x(7)^8) + abs (x(8)^9 ) 8 | + abs (x(9)^10 ) + abs (x(10)^11) 9 | + abs (x(11)^12) + abs(x(12)^13) + abs (x(13)^14) + abs(x(14)^15) +abs (x(15)^16) + abs(x(16)^17) +abs (x(17)^18) + abs (x(18)^19 ) 10 | + abs (x(19)^20 ) + abs (x(20)^21) 11 | 12 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/sodp30.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[30] in [-1,1]; 4 | 5 | minimize 6 | 7 | abs (x(1)^2) + abs(x(2)^3) + abs (x(3)^4) + abs(x(4)^5) +abs (x(5)^6) + abs(x(6)^7) +abs (x(7)^8) + abs (x(8)^9 ) 8 | + abs (x(9)^10 ) + abs (x(10)^11) 9 | + abs (x(11)^12) + abs(x(12)^13) + abs (x(13)^14) + abs(x(14)^15) +abs (x(15)^16) + abs(x(16)^17) +abs (x(17)^18) + abs (x(18)^19 ) 10 | + abs (x(19)^20 ) + abs (x(20)^21) 11 | + abs (x(21)^22) + abs(x(22)^23) + abs (x(23)^24) + abs(x(24)^25) +abs (x(25)^26) + abs(x(26)^27) +abs (x(27)^28) + abs (x(28)^29 ) 12 | + abs (x(29)^30 ) + abs (x(30)^31) 13 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/sphere10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[10] in [-500,500]; 3 | 4 | minimize 5 | x(1)^2+x(2)^2+x(3)^2+x(4)^2+x(5)^2+x(6)^2+x(7)^2+x(8)^2+x(9)^2+x(10)^2; 6 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/stretchedv10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[10] in [-10,10]; 4 | 5 | minimize 6 | (x(1)^2 + x(2)^2)^0.25 * (sin (50 * (x(1)^2 + x(2)^2)^0.1)+1)^2 7 | + (x(2)^2 + x(3)^2)^0.25 * (sin (50 * (x(2)^2 + x(3)^2)^0.1)+1)^2 8 | + (x(3)^2 + x(4)^2)^0.25 * (sin (50 * (x(3)^2 + x(4)^2)^0.1)+1)^2 9 | + (x(4)^2 + x(5)^2)^0.25 * (sin (50 * (x(4)^2 + x(5)^2)^0.1)+1)^2 10 | + (x(5)^2 + x(6)^2)^0.25 * (sin (50 * (x(5)^2 + x(6)^2)^0.1)+1)^2 11 | + (x(6)^2 + x(7)^2)^0.25 * (sin (50 * (x(6)^2 + x(7)^2)^0.1)+1)^2 12 | + (x(7)^2 + x(8)^2)^0.25 * (sin (50 * (x(7)^2 + x(8)^2)^0.1)+1)^2 13 | + (x(8)^2 + x(9)^2)^0.25 * (sin (50 * (x(8)^2 + x(9)^2)^0.1)+1)^2 14 | + (x(9)^2 + x(10)^2)^0.25 * (sin (50 * (x(9)^2 + x(10)^2)^0.1)+1)^2 15 | 16 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/stretchedv12.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[12] in [-10,10]; 4 | 5 | minimize 6 | (x(1)^2 + x(2)^2)^0.25 * (sin (50 * (x(1)^2 + x(2)^2)^0.1)+1)^2 7 | + (x(2)^2 + x(3)^2)^0.25 * (sin (50 * (x(2)^2 + x(3)^2)^0.1)+1)^2 8 | + (x(3)^2 + x(4)^2)^0.25 * (sin (50 * (x(3)^2 + x(4)^2)^0.1)+1)^2 9 | + (x(4)^2 + x(5)^2)^0.25 * (sin (50 * (x(4)^2 + x(5)^2)^0.1)+1)^2 10 | + (x(5)^2 + x(6)^2)^0.25 * (sin (50 * (x(5)^2 + x(6)^2)^0.1)+1)^2 11 | + (x(6)^2 + x(7)^2)^0.25 * (sin (50 * (x(6)^2 + x(7)^2)^0.1)+1)^2 12 | + (x(7)^2 + x(8)^2)^0.25 * (sin (50 * (x(7)^2 + x(8)^2)^0.1)+1)^2 13 | + (x(8)^2 + x(9)^2)^0.25 * (sin (50 * (x(8)^2 + x(9)^2)^0.1)+1)^2 14 | + (x(9)^2 + x(10)^2)^0.25 * (sin (50 * (x(9)^2 + x(10)^2)^0.1)+1)^2 15 | + (x(10)^2 + x(11)^2)^0.25 * (sin (50 * (x(10)^2 + x(11)^2)^0.1)+1)^2 16 | + (x(11)^2 + x(12)^2)^0.25 * (sin (50 * (x(11)^2 + x(12)^2)^0.1)+1)^2 17 | 18 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/stretchedv2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[2] in [-10,10]; 4 | 5 | minimize 6 | (x(1)^2 + x(2)^2)^0.25 * (sin (50 * (x(1)^2 + x(2)^2)^0.1)+1)^2 7 | 8 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/styblinski-tang10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[10] in [-5,5]; 4 | 5 | minimize 6 | 7 | x(1)^4 - 16 * x(1)^2 + 5 * x(1) 8 | + x(2)^4 - 16 * x(2)^2 + 5 * x(2) 9 | + x(3)^4 - 16 * x(3)^2 + 5 * x(3) 10 | + x(4)^4 - 16 * x(4)^2 + 5 * x(4) 11 | + x(5)^4 - 16 * x(5)^2 + 5 * x(5) 12 | + x(6)^4 - 16 * x(6)^2 + 5 * x(6) 13 | + x(7)^4 - 16 * x(7)^2 + 5 * x(7) 14 | + x(8)^4 - 16 * x(8)^2 + 5 * x(8) 15 | + x(9)^4 - 16 * x(9)^2 + 5 * x(9) 16 | + x(10)^4 - 16 * x(10)^2 + 5 * x(10) 17 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/styblinski-tang2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[2] in [-5,5]; 4 | 5 | minimize 6 | 7 | x(1)^4 - 16 * x(1)^2 + 5 * x(1) 8 | + x(2)^4 - 16 * x(2)^2 + 5 * x(2) 9 | -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/styblinski-tang5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[5] in [-5,5]; 4 | 5 | minimize 6 | 7 | x(1)^4 - 16 * x(1)^2 + 5 * x(1) 8 | + x(2)^4 - 16 * x(2)^2 + 5 * x(2) 9 | + x(3)^4 - 16 * x(3)^2 + 5 * x(3) 10 | + x(4)^4 - 16 * x(4)^2 + 5 * x(4) 11 | + x(5)^4 - 16 * x(5)^2 + 5 * x(5) 12 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/styblinski-tang6.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[6] in [-5,5]; 4 | 5 | minimize 6 | 7 | x(1)^4 - 16 * x(1)^2 + 5 * x(1) 8 | + x(2)^4 - 16 * x(2)^2 + 5 * x(2) 9 | + x(3)^4 - 16 * x(3)^2 + 5 * x(3) 10 | + x(4)^4 - 16 * x(4)^2 + 5 * x(4) 11 | + x(5)^4 - 16 * x(5)^2 + 5 * x(5) 12 | + x(6)^4 - 16 * x(6)^2 + 5 * x(6) 13 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/styblinski-tang7.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x[7] in [-5,5]; 4 | 5 | minimize 6 | 7 | x(1)^4 - 16 * x(1)^2 + 5 * x(1) 8 | + x(2)^4 - 16 * x(2)^2 + 5 * x(2) 9 | + x(3)^4 - 16 * x(3)^2 + 5 * x(3) 10 | + x(4)^4 - 16 * x(4)^2 + 5 * x(4) 11 | + x(5)^4 - 16 * x(5)^2 + 5 * x(5) 12 | + x(6)^4 - 16 * x(6)^2 + 5 * x(6) 13 | + x(7)^4 - 16 * x(7)^2 + 5 * x(7) 14 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/xinshe-yang10.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x[10] in [-6.283185307,6.283185307]; 5 | 6 | minimize 7 | (abs(x(1)) + abs(x(2)) + abs(x(3)) + abs(x(4)) + abs(x(5)) + abs(x(6)) + abs(x(7)) + abs(x(8)) + abs(x(9)) + abs(x(10)) ) 8 | 9 | / exp (sin (x(1)^2) + sin(x(2)^2)+ sin (x(3)^2) + sin (x(4)^2)+ sin (x(5)^2) + sin (x(6)^2) + sin (x(7)^2) + sin (x(8)^2) 10 | + sin (x(9)^2) + sin (x(10)^2) ) 11 | 12 | ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/xinshe-yang2.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x[2] in [-6.283185307,6.283185307]; 5 | 6 | minimize 7 | (abs(x(1)) + abs(x(2))) / exp (sin (x(1)^2) + sin (x(2)^2)) ; -------------------------------------------------------------------------------- /benchs/optim/benchs-unconstrainedoptim/xinshe-yang20.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x[20] in [-6.283185307,6.283185307]; 5 | 6 | minimize 7 | (abs(x(1)) + abs(x(2)) + abs(x(3)) + abs(x(4)) + abs(x(5)) + abs(x(6)) + abs(x(7)) + abs(x(8)) + abs(x(9)) + abs(x(10)) 8 | + abs(x(11)) + abs(x(12)) + abs(x(13)) + abs(x(14)) + abs(x(15)) + abs(x(16)) + abs(x(17)) + abs(x(18)) + abs(x(19)) + abs(x(20)) ) 9 | 10 | / exp (sin (x(1)^2) + sin(x(2)^2) + sin (x(3)^2) + sin (x(4)^2)+ sin (x(5)^2) + sin (x(6)^2) + sin (x(7)^2) + sin (x(8)^2) 11 | + sin (x(9)^2) + sin (x(10)^2) 12 | + sin (x(11)^2) + sin(x(12)^2) +sin (x(13)^2) + sin (x(14)^2)+ sin (x(15)^2) + sin (x(16)^2) + sin (x(17)^2) + sin (x(18)^2) 13 | + sin (x(19)^2) + sin (x(20)^2 14 | )) 15 | 16 | ; -------------------------------------------------------------------------------- /benchs/optim/blowup/ex2_1_9bis.bch: -------------------------------------------------------------------------------- 1 | 2 | 3 | variables 4 | x1 in [ 0,1]; 5 | x2 in [ 0,1]; 6 | x3 in [ 0,1]; 7 | x4 in [ 0,1]; 8 | x5 in [ 0,1]; 9 | x6 in [ 0,1]; 10 | x7 in [ 0,1]; 11 | x8 in [ 0,1]; 12 | x9 in [ 0,1]; 13 | 14 | 15 | 16 | 17 | minimize - (x1*x2 + x2*x3 + x3*x4 + x4*x5 + x5*x6 + x6*x7 + x7*x8 + x8*x9 18 | + x9* (1- (x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9)) + x1*x3 + x2*x4 + x3*x5 + x4*x6 + x5*x7 + x6*x8 + x7*x9 19 | + x8* (1- (x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9)) + x1*x9 + x1* (1- (x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9)) + x2* (1- (x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9)) 20 | + x1*x5 + x4*x7); 21 | 22 | constraints 23 | x1 + x2 + x3 +x4 +x5 + x6 +x7 +x8 +x9 <=1; 24 | 25 | end -------------------------------------------------------------------------------- /benchs/optim/blowup/ex6_1_1.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [1.e-7, 0.5]; 6 | x3 in [1.e-7, 0.5]; 7 | x4 in [1.e-7, 0.5]; 8 | x5 in [1.e-7, 0.5]; 9 | x6 in [0, 1.e8]; 10 | x7 in [0, 1.e8]; 11 | x8 in [0, 1.e8]; 12 | x9 in [0, 1.e8]; 13 | 14 | 15 | 16 | 17 | minimize x2*(ln(x2) - ln(x2 + x4)) + x4*(ln(x4) - ln(x2 + x4)) + x3*(ln(x3) - ln(x3 + x5)) + x5*(ln(x5) - ln(x3 + x5)) + 18 | 0.925356626778358*x2*x8 + 0.746014540096753*x4*x6 + 0.925356626778358*x3*x9 + 0.746014540096753*x5*x7; 19 | 20 | constraints 21 | x6*(x2 + 0.159040857374844*x4) - x2 =0; 22 | 23 | 24 | x7*(x3 + 0.159040857374844*x5) - x3 =0; 25 | 26 | 27 | x8*(0.307941026821595*x2 + x4) - x4 =0; 28 | 29 | 30 | x9*(0.307941026821595*x3 + x5) - x5 =0; 31 | 32 | 33 | x2 + x3 - 0.5 =0; 34 | 35 | 36 | x4 + x5 - 0.5 =0; 37 | 38 | 39 | end -------------------------------------------------------------------------------- /benchs/optim/blowup/ex7_2_4.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [0.1,10]; 3 | x2 in [0.1,10]; 4 | x3 in [0.1,10]; 5 | x4 in [0.1,10]; 6 | x5 in [0.1,10]; 7 | x6 in [0.1,10]; 8 | x7 in [0.1,10]; 9 | x8 in [0.1,10]; 10 | 11 | 12 | 13 | 14 | minimize 0.4*exp(0.67*ln(x1))/exp(0.67*ln(x7)) + 0.4*exp(0.67*ln(x2))/exp(0.67*ln(x8)) - x1 - x2 + 10; 15 | 16 | constraints 17 | 18 | 0.0588*x5*x7 + 0.1*x1 <= 1; 19 | 20 | 0.0588*x6*x8 + 0.1*x1 + 0.1*x2 <= 1; 21 | 22 | 4*x3/x5 + 2/(exp(0.71*ln(x3))*x5) + 0.0588*x7/exp(1.3*ln(x3)) <= 1; 23 | 24 | 4*x4/x6 + 2/(exp(0.71*ln(x4))*x6) + 0.0588*exp(1.3*ln(x4))*x8 <= 1; 25 | 26 | end -------------------------------------------------------------------------------- /benchs/optim/blowup/ex7_2_8.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [0.01,10]; 3 | x2 in [0.01,10]; 4 | x3 in [0.01,10]; 5 | x4 in [0.01,10]; 6 | x5 in [0.01,10]; 7 | x6 in [0.01,10]; 8 | x7 in [0.01,10]; 9 | x8 in [0.01,10]; 10 | 11 | 12 | 13 | minimize 14 | 15 | 16 | 0.4*x1^0.67/x3^0.67- x1 + 0.4*x5^0.67/x7^0.67 - x5; 17 | 18 | constraints 19 | 20 | 0.0588*x3*x4 + 0.1*x1 <= 1; 21 | 22 | 0.0588*x7*x8 + 0.1*x1 + 0.1*x5 <= 1; 23 | 24 | 4*x2/x4 + 2/(x2^0.71*x4) + 0.0588*x3/x2^1.3 <= 1; 25 | 26 | 4*x6/x8 + 2/(x6^0.71*x8) + 0.0588*x6^1.3*x7 <= 1; 27 | 28 | end 29 | -------------------------------------------------------------------------------- /benchs/optim/blowup/ex8_5_1-1.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [ 1.e-40, 1.e8]; 6 | x3 in [1.e-40 ,1.e8]; 7 | x4 in [ 1.e-40, 1.e8]; 8 | x5 in [ 1.e-40,1.e8]; 9 | x6 in [1.e-40,1.e8]; 10 | x7 in [1.e-40,1.e8]; 11 | 12 | 13 | 14 | minimize x2*ln(x2) + x3*ln(x3) + x4*ln(x4) + x7/(x5 - x7) - ln(x5 - x7 15 | ) - 2*x6/x5 + 0.430983578191493*x2 + 3.80082402249182*x3 + 16 | 2.92297302249182*x4; 17 | 18 | constraints 19 | x5^3 - (1 + x7)*x5^2 + x6*x5 - x6*x7 =0; 20 | 21 | 22 | - (0.37943*x2*x2 + 0.75885*x2*x3 + 0.48991*x2*x4 + 0.75885*x3*x2 + 0.8836* 23 | x3*x3 + 0.23612*x3*x4 + 0.48991*x4*x2 + 0.23612*x4*x3 + 0.63263*x4*x4) + x6 =0; 24 | 25 | 26 | - 0.14998*x2 - 0.14998*x3 - 0.14998*x4 + x7 =0; 27 | 28 | 29 | x2 + x3 + x4 - 1 =0; 30 | 31 | 32 | //x5 - x7 >=eps; 33 | end -------------------------------------------------------------------------------- /benchs/optim/blowup/ex8_5_1.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [ 1.e-8, 1.e8]; 6 | x3 in [1.e-8 ,1.e8]; 7 | x4 in [ 1.e-8, 1.e8]; 8 | x5 in [ 1.e-8,1.e8]; 9 | x6 in [1.e-8,1.e8]; 10 | x7 in [1.e-8,1.e8]; 11 | 12 | 13 | 14 | minimize x2*ln(x2) + x3*ln(x3) + x4*ln(x4) + x7/(x5 - x7) - ln(x5 - x7 15 | ) - 2*x6/x5 + 0.430983578191493*x2 + 3.80082402249182*x3 + 16 | 2.92297302249182*x4; 17 | 18 | constraints 19 | x5^3 - (1 + x7)*x5^2 + x6*x5 - x6*x7 =0; 20 | 21 | 22 | - (0.37943*x2*x2 + 0.75885*x2*x3 + 0.48991*x2*x4 + 0.75885*x3*x2 + 0.8836* 23 | x3*x3 + 0.23612*x3*x4 + 0.48991*x4*x2 + 0.23612*x4*x3 + 0.63263*x4*x4) + x6 =0; 24 | 25 | 26 | - 0.14998*x2 - 0.14998*x3 - 0.14998*x4 + x7 =0; 27 | 28 | 29 | x2 + x3 + x4 - 1 =0; 30 | 31 | 32 | //x5 - x7 >=eps; 33 | end -------------------------------------------------------------------------------- /benchs/optim/blowup/ex8_5_2.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [1.e-8,1.e8]; 6 | x3 in [1.e-8,1.e8]; 7 | x4 in [1.e-8,1.e8]; 8 | x5 in [1.e-8,1.e8]; 9 | x6 in [-1.e8,1.e8]; 10 | x7 in [-1.e8,1.e8]; 11 | 12 | 13 | 14 | 15 | minimize x2*ln(x2) + x3*ln(x3) + x4*ln(x4) + x7/(x5 - x7) - ln(x5 - x7 16 | ) - 2*x6/x5 + 0.585616681390832*x2 + 3.53797016206289*x3 + 17 | 2.18345516206289*x4; 18 | 19 | constraints 20 | 21 | x5^3 - (1 + x7)*x5^2 + x6*x5 - x6*x7 =0; 22 | 23 | 24 | - (0.37943*x2*x2 + 0.75885*x2*x3 + 0.48991*x2*x4 + 0.75885*x3*x2 + 0.8836* 25 | x3*x3 + 0.23612*x3*x4 + 0.48991*x4*x2 + 0.23612*x4*x3 + 0.63263*x4*x4) + x6 =0; 26 | 27 | 28 | - 0.14998*x2 - 0.14998*x3 - 0.14998*x4 + x7 =0; 29 | 30 | 31 | x2 + x3 + x4 -1 =0; 32 | 33 | // x5 -x7 >= eps; 34 | end 35 | -------------------------------------------------------------------------------- /benchs/optim/blowup/process.bch: -------------------------------------------------------------------------------- 1 | 2 | constants 3 | 4 | 5 | variables 6 | 7 | x1 in [10,2000]; 8 | x2 in [ 0, 16000]; 9 | x3 in [ 0, 120]; 10 | x4 in [ 0, 5000]; 11 | x5 in [ 0, 2000]; 12 | x6 in [ 85, 93]; 13 | x7 in [ 90, 95]; 14 | x8 in [ 3, 12]; 15 | x9 in [ 1.2, 4]; 16 | x10 in [ 145, 162]; 17 | 18 | 19 | minimize - 0.063*x4*x7 + 5.04*x1 + 0.035*x2 + 10*x3 + 3.36*x5; 20 | 21 | constraints 22 | - x1*(1.12 + 0.13167*x8 - 0.00667*x8^2) + x4 =0; 23 | 24 | 25 | - x1 + 1.22*x4 - x5 =0; 26 | 27 | 28 | - 0.001*x4*x9*x6/(98 - x6) + x3 =0; 29 | 30 | 31 | - (1.098*x8 - 0.038*x8^2) - 0.325*x6 + x7 - 57.425 =0; 32 | 33 | 34 | - (x2 + x5)/x1 + x8 =0; 35 | 36 | 37 | x9 + 0.222*x10 - 35.82 =0; 38 | 39 | 40 | - 3*x7 + x10 + 133 =0; 41 | 42 | 43 | end 44 | -------------------------------------------------------------------------------- /benchs/optim/easy/ackley_5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-32,32]; 4 | x2 in [-32,32]; 5 | x3 in [-32,32]; 6 | x4 in [-32,32]; 7 | x5 in [-32,32]; 8 | 9 | minimize 10 | 11 | -20 * exp (-0.2 * sqrt (0.2 * (x1^2 + x2 ^2 + x3^2 + x4^2 + x5 ^2))) - exp (0.2 * (cos (2*pi*x1) + cos (2*pi*x2) +cos (2*pi*x3) 12 | + cos (2*pi*x4) + cos (2*pi*x5))) + 20 + 2.718281; 13 | 14 | constraints 15 | x1 <= 500; 16 | end 17 | -------------------------------------------------------------------------------- /benchs/optim/easy/chance.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [0,1.e8]; 6 | x3 in [0,1.e8]; 7 | x4 in [0,1.e8]; 8 | x5 in [0,1.e8]; 9 | 10 | 11 | minimize 24.55*x2 + 26.75*x3 + 39*x4 + 40.5*x5; 12 | 13 | constraints 14 | 15 | x2 + x3 + x4 + x5 -1 =0; 16 | 17 | 18 | 12*x2 - 1.645*sqrt(0.28*x2^2 + 0.19*x3^2 + 20.5*x4^2 + 0.62*x5^2) + 11.9*x3 19 | + 41.8*x4 + 52.1*x5 >= 21; 20 | 21 | 2.3*x2 + 5.6*x3 + 11.1*x4 + 1.3*x5 >= 5; 22 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex14_1_1.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [ -5, 5]; 3 | x2 in [ -5, 5]; 4 | x3 in [-1.e8,1.e8]; 5 | 6 | 7 | 8 | minimize x3; 9 | 10 | constraints 11 | 12 | 2*x2^2 + 4*x1*x2 - 42*x1 + 4*x1^3 - x3 <= 14; 13 | 14 | (-2*x2^2) - 4*x1*x2 + 42*x1 - 4*x1^3 - x3 <= -14; 15 | 16 | 2*x1^2 + 4*x1*x2 - 26*x2 + 4*x2^3 - x3 <= 22; 17 | 18 | (-2*x1^2) - 4*x1*x2 + 26*x2 - 4*x2^3 - x3 <= -22; 19 | 20 | end 21 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex14_1_3.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [5.49e-6,4.553]; 4 | x2 in [ 0.0021961, 18.21]; 5 | x3 in [-1.e8,1.e8]; 6 | 7 | 8 | 9 | minimize x3; 10 | 11 | constraints 12 | 13 | 10000*x1*x2 - x3 <= 1; 14 | 15 | - 10000*x1*x2 - x3 <= -1; 16 | 17 | exp(-x1) + exp(-x2) - x3 <= 1.001; 18 | 19 | (-exp(-x1)) - exp(-x2) - x3 <= -1.001; 20 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex14_1_4.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [ 0.25, 1]; 4 | x2 in [ 1.5, 6.28]; 5 | x3 in [-1.e8,1.e8]; 6 | 7 | 8 | minimize x3; 9 | 10 | constraints 11 | 12 | 0.5*sin(x1*x2) - 0.5*x1 - 0.0795774703703634*x2 - x3 <= 0; 13 | 14 | 0.920422529629637*exp(2*x1) - 5.4365636*x1 + 0.865255957591193*x2 - x3 15 | <= 2.5019678106022; 16 | 17 | 0.5*x1 - 0.5*sin(x1*x2) + 0.0795774703703634*x2 - x3 <= 0; 18 | 19 | 5.4365636*x1 - 0.920422529629637*exp(2*x1) - 0.865255957591193*x2 - x3 20 | <= -2.5019678106022; 21 | 22 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex14_1_5.bch: -------------------------------------------------------------------------------- 1 | 2 | constants 3 | 4 | variables 5 | x1 in [-2,2]; 6 | x2 in [-2,2]; 7 | x3 in [-2,2]; 8 | x4 in [-2,2]; 9 | x5 in [-2,2]; 10 | x6 in [-1.e8,1.e8]; 11 | 12 | 13 | 14 | 15 | minimize x6; 16 | 17 | constraints 18 | 2*x1 + x2 + x3 + x4 + x5 - 6 =0; 19 | 20 | 21 | x1 + 2*x2 + x3 + x4 + x5 - 6 =0; 22 | 23 | 24 | x1 + x2 + 2*x3 + x4 + x5 - 6 =0; 25 | 26 | 27 | x1 + x2 + x3 + 2*x4 + x5 - 6 =0; 28 | 29 | 30 | x1*x2*x3*x4*x5 - x6 <= 1; 31 | 32 | - x1*x2*x3*x4*x5 - x6 <= -1; 33 | 34 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex14_1_8.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [ 0, 1]; 3 | x2 in [ 0, 1]; 4 | x3 in [-1.e8,1.e8]; 5 | 6 | 7 | minimize x3; 8 | 9 | constraints 10 | 11 | (0.0476666666666666 - 0.0649999999999999*x1)*exp(10*x1/(1 + 0.01*x1)) - x1 12 | - x3 <= 0; 13 | 14 | x1 - (0.0476666666666666 - 0.0649999999999999*x1)*exp(10*x1/(1 + 0.01*x1)) 15 | - x3 <= 0; 16 | 17 | (0.143 + (-0.13*x1) - 0.195*x2)*exp(10*x2/(1 + 0.01*x2)) + x1 - 3*x2 - x3 18 | <= 0; 19 | 20 | (-(0.143 + (-0.13*x1) - 0.195*x2)*exp(10*x2/(1 + 0.01*x2))) - x1 + 3*x2 21 | - x3 <= 0; 22 | 23 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex14_1_9.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [ 100, 1000]; 4 | x2 in [-1.e8,1.e8]; 5 | 6 | 7 | 8 | minimize x2; 9 | 10 | constraints 11 | 12 | 4510067.11409396*x1*exp(-7548.11926028431/x1) + 0.00335570469798658*x1 - 13 | 2020510067.11409*exp(-7548.11926028431/x1) - x2 <= 1; 14 | 15 | (-4510067.11409396*x1*exp(-7548.11926028431/x1)) - 0.00335570469798658*x1 16 | + 2020510067.11409*exp(-7548.11926028431/x1) - x2 <= -1; 17 | 18 | end 19 | 20 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex2_1_1.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [0,1]; 4 | x2 in [0,1]; 5 | x3 in [0,1]; 6 | x4 in [0,1]; 7 | x5 in [0,1]; 8 | 9 | 10 | 11 | 12 | minimize 42*x1 - 0.5*(100*x1^2 + 100*x2^2 + 100*x3^2 + 100*x4^2 + 100*x5^2) + 44*x2 + 45*x3 + 47*x4 + 47.5*x5 ; 13 | 14 | constraints 15 | 20*x1 + 12*x2 + 11*x3 + 7*x4 + 4*x5 <= 40; 16 | 17 | end 18 | 19 | 20 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex2_1_2.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | 3 | x1 in [0,1]; 4 | x2 in [0,1]; 5 | x3 in [0,1]; 6 | x4 in [0,1]; 7 | x5 in [0,1]; 8 | x6 in [0,20]; 9 | 10 | 11 | 12 | minimize -0.5*(x1^2 + x2^2 + x3^2 + x4^2 + x5^2) - 10.5*x1 - 7.5*x2 - 3.5*x3 - 2.5*x4 - 1.5*x5 - 10*x6; 13 | 14 | 15 | constraints 16 | 6*x1 + 3*x2 + 3*x3 + 2*x4 + x5 <= 6.5; 17 | 10*x1 + 10*x3 + x6 <= 20; 18 | 19 | 20 | end 21 | 22 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex2_1_3.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | 3 | x1 in [0,1]; 4 | x2 in [0,1]; 5 | x3 in [0,1]; 6 | x4 in [0,1]; 7 | x5 in [0,1]; 8 | x6 in [0,1]; 9 | x7 in [0,1]; 10 | x8 in [0,1]; 11 | x9 in [0,1]; 12 | x10 in [0, 10]; 13 | x11 in [ 0,10]; 14 | x12 in [ 0,10]; 15 | x13 in [0, 1]; 16 | 17 | 18 | 19 | 20 | minimize 5*x1 - 0.5*(10*x1^2 + 10*x2^2 + 10*x3^2 + 10*x4^2 )+ 5*x2 + 5*x3 + 5*x4 - x5 - x6 - x7 - x8 - x9 - x10 - x11 - x12 - x13; 21 | 22 | constraints 23 | 2*x1 + 2*x2 + x10 + x11 <= 10; 24 | 25 | 2*x1 + 2*x3 + x10 + x12 <= 10; 26 | 27 | 2*x2 + 2*x3 + x11 + x12 <= 10; 28 | 29 | - 8*x1 + x10 <= 0; 30 | 31 | - 8*x2 + x11 <= 0; 32 | 33 | - 8*x3 + x12 <= 0; 34 | 35 | - 2*x4 - x5 + x10 <= 0; 36 | 37 | - 2*x6 - x7 + x11 <= 0; 38 | 39 | - 2*x8 - x9 + x12 <= 0; 40 | 41 | end 42 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex2_1_4.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [ 0, 1]; 3 | x2 in [0,1.e8]; 4 | x3 in [ 0,1.e8]; 5 | x4 in [ 0, 1]; 6 | x5 in [ 0, 1]; 7 | x6 in [ 0, 2]; 8 | 9 | 10 | 11 | minimize 6.5*x1 - 0.5*x1*x1 - x2 - 2*x3 - 3*x4 - 2*x5 - x6; 12 | 13 | constraints 14 | 15 | 16 | x1 + 2*x2 + 8*x3 + x4 + 3*x5 + 5*x6 <= 16; 17 | 18 | - 8*x1 - 4*x2 - 2*x3 + 2*x4 + 4*x5 - x6 <= -1; 19 | 20 | 2*x1 + 0.5*x2 + 0.2*x3 - 3*x4 - x5 - 4*x6 <= 24; 21 | 22 | 0.2*x1 + 2*x2 + 0.1*x3 - 4*x4 + 2*x5 + 2*x6 <= 12; 23 | 24 | - 0.1*x1 - 0.5*x2 + 2*x3 + 5*x4 - 5*x5 + 3*x6 <= 3; 25 | 26 | end 27 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex2_1_6.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [0,1]; 4 | x2 in [0,1]; 5 | x3 in [0,1]; 6 | x4 in [0,1]; 7 | x5 in [0,1]; 8 | x6 in [0,1]; 9 | x7 in [0,1]; 10 | x8 in [0,1]; 11 | x9 in [0,1]; 12 | x10 in [0,1]; 13 | 14 | 15 | 16 | minimize 48*x1 - 0.5*(100*x1^2 + 100*x2^2 + 100*x3^2 + 100*x4^2 + 100*x5^2 + 100*x6^2 + 100*x7^2 + 100*x8^2 + 100*x9^2 + 100*x10^2) + 42*x2 + 48*x3 + 45*x4 + 44*x5 + 41*x6 + 47*x7 + 42*x8 + 45*x9 + 46*x10; 17 | 18 | constraints 19 | 20 | - 2*x1 - 6*x2 - x3 - 3*x5 - 3*x6 - 2*x7 - 6*x8 - 2*x9 - 2*x10 <= -4; 21 | 6*x1 - 5*x2 + 8*x3 - 3*x4 + x6 + 3*x7 + 8*x8 + 9*x9 - 3*x10 <= 22; 22 | 23 | - 5*x1 + 6*x2 + 5*x3 + 3*x4 + 8*x5 - 8*x6 + 9*x7 + 2*x8 - 9*x10 <= -6; 24 | 25 | 9*x1 + 5*x2 - 9*x4 + x5 - 8*x6 + 3*x7 - 9*x8 - 9*x9 - 3*x10 <= -23; 26 | 27 | - 8*x1 + 7*x2 - 4*x3 - 5*x4 - 9*x5 + x6 - 7*x7 - x8 + 3*x9 - 2*x10 <= -12; 28 | end 29 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex3_1_1.bch: -------------------------------------------------------------------------------- 1 | 2 | Variables 3 | x1 in [ 100, 10000] ; 4 | x2 in [ 1000, 10000]; 5 | x3 in [ 1000, 10000]; 6 | x4 in [10, 1000]; 7 | x5 in [ 10, 1000]; 8 | x6 in [ 10, 1000] ; 9 | x7 in [ 10, 1000]; 10 | x8 in [ 10, 1000]; 11 | 12 | 13 | 14 | 15 | minimize x1 + x2 + x3; 16 | 17 | constraints 18 | 19 | 0.0025*x4 + 0.0025*x6 <= 1; 20 | 21 | - 0.0025*x4 + 0.0025*x5 + 0.0025*x7 <= 1; 22 | 23 | - 0.01*x5 + 0.01*x8 <= 1; 24 | 25 | 100*x1 - x1*x6 + 833.33252*x4 <= 83333.333; 26 | 27 | x2*x4 - x2*x7 - 1250*x4 + 1250*x5 <= 0; 28 | 29 | x3*x5 - x3*x8 - 2500*x5 <= -1250000; 30 | 31 | end 32 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex3_1_2.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [78, 102]; 4 | x2 in [33, 45]; 5 | x3 in [ 27, 45]; 6 | x4 in [ 27, 45]; 7 | x5 in [ 27, 45]; 8 | 9 | 10 | 11 | minimize 0.8356891*x1*x5 + 37.293239*x1 + 5.3578547*x3*x3 - 40792.141; 12 | 13 | constraints 14 | 0.0056858*x2*x5 - 0.0022053*x3*x5 + 0.0006262*x1*x4 <= 6.665593; 15 | 16 | 0.0022053*x3*x5 - 0.0056858*x2*x5 - 0.0006262*x1*x4 <= 85.334407; 17 | 18 | 0.0071317*x2*x5 + 0.0021813*x3*x3 + 0.0029955*x1*x2 <= 29.48751; 19 | 20 | (-0.0071317*x2*x5) - 0.0021813*x3*x3 - 0.0029955*x1*x2 <= -9.48751; 21 | 22 | 0.0047026*x3*x5 + 0.0019085*x3*x4 + 0.0012547*x1*x3 <= 15.599039; 23 | 24 | (-0.0047026*x3*x5) - 0.0019085*x3*x4 - 0.0012547*x1*x3 <= -10.699039; 25 | 26 | end 27 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex3_1_3.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [0,1.e8]; 4 | x2 in [0,1.e8]; 5 | x3 in [1, 5]; 6 | x4 in [0, 6]; 7 | x5 in [ 1, 5]; 8 | x6 in [ 0, 10]; 9 | 10 | 11 | 12 | minimize (-25*(x1 - 2)^2) - (x2 - 2)^2 - (x3 - 1)^2 - (x4 - 4)^2 - (x5 - 1 13 | )^2 - (x6 - 4)^2; 14 | 15 | constraints 16 | 17 | (x3 - 3)^2 + x4 >= 4; 18 | 19 | (x5 - 3)^2 + x6 >= 4; 20 | 21 | x1 - 3*x2 <= 2; 22 | 23 | - x1 + x2 <= 2; 24 | 25 | x1 + x2 <= 6; 26 | 27 | x1 + x2 >= 2; 28 | 29 | end 30 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex3_1_3bis.bch: -------------------------------------------------------------------------------- 1 | 2 | Variables 3 | x1 in [0,1.e8]; 4 | x2 in [0,1.e8]; 5 | x3 in [1, 5]; 6 | x4 in [0, 6]; 7 | x5 in [ 1, 5]; 8 | x6 in [ 0, 10]; 9 | 10 | 11 | 12 | minimize (-25*(x1 - 2)^2) - (x2 - 2)^2 - (x3 - 1)^2 - (x4 - 4)^2 - (x5 - 1 )^2 - (x6 - 4)^2; 13 | 14 | constraints 15 | -( (x3 - 3)^2 + x4) <= -4; 16 | 17 | - ((x5 - 3)^2 + x6) <= -4; 18 | 19 | x1 - 3*x2 <= 2; 20 | 21 | - x1 + x2 <= 2; 22 | 23 | x1 + x2 <= 6; 24 | 25 | - ( x1 + x2) <= - 2; 26 | 27 | end 28 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex3_1_4.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [ 0, 2]; 4 | x2 in [0, 1.e8]; 5 | x3 in [0, 3]; 6 | 7 | 8 | 9 | minimize - 2*x1 + x2 - x3; 10 | 11 | constraints 12 | 13 | x1*(4*x1 - 2*x2 + 2*x3) + x2*(2*x2 - 2*x1 - x3) + x3*(2*x1 - x2 + 2*x3) - 14 | 20*x1 + 9*x2 - 13*x3 >= -24; 15 | 16 | x1 + x2 + x3 <= 4; 17 | 18 | 3*x2 + x3 <= 6; 19 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex4_1_5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [ -5,1.e8]; 3 | x2 in [-1.e8, 5]; 4 | 5 | 6 | 7 | minimize 2*x1^2 - 1.05*x1^4 + 0.166666666666667*x1^6 - x1*x2 + x2^2; 8 | 9 | 10 | 11 | constraints 12 | 13 | x1 >= -5; 14 | x2 <= 5; 15 | 16 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex4_1_8.bch: -------------------------------------------------------------------------------- 1 | 2 | constants 3 | 4 | 5 | variables 6 | x1 in [ 0, 2]; 7 | x2 in [0, 3]; 8 | 9 | 10 | 11 | minimize x2^2 - 7*x2 - 12*x1; 12 | 13 | constraints 14 | - 2*x1^4 - x2 + 2 =0; 15 | 16 | end 17 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex4_1_9.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [ 0, 3]; 4 | x2 in [ 0, 4]; 5 | 6 | 7 | minimize - x1 - x2; 8 | 9 | constraints 10 | 8*x1^3 - 2*x1^4 - 8*x1^2 + x2 <= 2; 11 | 12 | 32*x1^3 - 4*x1^4 - 88*x1^2 + 96*x1 + x2 <= 36; 13 | end 14 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex5_2_2_case1.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | 5 | variables 6 | 7 | x1 in [ 0, 100] ; 8 | x2 in [ 0, 200]; 9 | x3 in [ 0, 500]; 10 | x4 in [ 0, 500]; 11 | x5 in [ 0, 500]; 12 | x6 in [ 0, 500]; 13 | x7 in [ 0, 500]; 14 | x8 in [ 0, 500]; 15 | x9 in [0, 500]; 16 | 17 | 18 | 19 | minimize - 9*x1 - 15*x2 + 6*x3 + 16*x4 + 10*x5 + 10*x6; 20 | 21 | constraints 22 | 23 | 24 | - x3 - x4 + x8 + x9 =0; 25 | 26 | 27 | x1 - x5 - x8 =0; 28 | 29 | 30 | x2 - x6 - x9 =0; 31 | 32 | 33 | x7*x8 - 2.5*x1 + 2*x5 <= 0; 34 | 35 | x7*x9 - 1.5*x2 + 2*x6 <= 0; 36 | 37 | x7*x8 + x7*x9 - 3*x3 - x4 =0; 38 | 39 | 40 | 41 | end 42 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex5_2_2_case2.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | variables 4 | 5 | x1 in [ 0, 600]; 6 | x2 in [0,200]; 7 | x3 in [0, 500]; 8 | x4 in [0, 500]; 9 | x5 in [0, 500]; 10 | x6 in [0, 500]; 11 | x7 in [0, 500]; 12 | x8 in [0, 500]; 13 | x9 in [0, 500]; 14 | 15 | 16 | 17 | minimize - 9*x1 - 15*x2 + 6*x3 + 16*x4 + 10*x5 + 10*x6; 18 | 19 | constraints 20 | - x3 - x4 + x8 + x9 =0; 21 | 22 | 23 | x1 - x5 - x8 =0; 24 | 25 | 26 | x2 - x6 - x9 =0; 27 | 28 | 29 | 30 | x7*x8 - 2.5*x1 + 2*x5 <= 0; 31 | 32 | x7*x9 - 1.5*x2 + 2*x6 <=0; 33 | 34 | x7*x8 + x7*x9 - 3*x3 - x4 =0; 35 | 36 | 37 | end 38 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex5_2_4.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x1 in [ 0, 1]; 6 | x2 in [ 0, 1]; 7 | x3 in [ 0, 1]; 8 | x4 in [0, 100]; 9 | x5 in [0, 200]; 10 | x6 in [ 0, 100]; 11 | x7 in [0, 200]; 12 | 13 | 14 | 15 | minimize - ((9 + (-6*x1) - 16*x2 - 15*x3)*x4 + (15 + (-6*x1) - 16*x2 - 15 16 | *x3)*x5) + x6 - 5*x7; 17 | 18 | constraints 19 | 20 | 21 | x3*x4 + x3*x5 <= 50; 22 | 23 | x4 + x6 <= 100; 24 | 25 | x5 + x7 <= 200; 26 | 27 | (3*x1 + x2 + x3 - 2.5)*x4 - 0.5*x6 <= 0; 28 | 29 | (3*x1 + x2 + x3 - 1.5)*x5 + 0.5*x7 <= 0; 30 | 31 | x1 + x2 + x3 - 1 =0; 32 | 33 | 34 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex5_4_2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [ 100, 10000]; 3 | x2 in [ 1000, 10000]; 4 | x3 in [ 1000, 10000]; 5 | x4 in [ 10, 1000]; 6 | x5 in [ 10, 1000]; 7 | x6 in [10, 1000]; 8 | x7 in [ 10, 1000]; 9 | x8 in [ 10, 1000]; 10 | 11 | 12 | minimize x1 + x2 + x3; 13 | 14 | constraints 15 | x4 + x6 <= 400; 16 | 17 | - x4 + x5 + x7 <= 300; 18 | 19 | - x5 + x8 <= 100; 20 | 21 | x1 - x1*x6 + 833.333333333333*x4 <= 83333.3333333333; 22 | 23 | x2*x4 - x2*x7 - 1250*x4 + 1250*x5 <= 0; 24 | 25 | x3*x5 - x3*x8 - 2500*x5 <= -1250000; 26 | 27 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex5_4_2bis.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [ 100, 10000]; 3 | x2 in [ 1000, 10000]; 4 | x3 in [ 1000, 10000]; 5 | x4 in [ 10, 1000]; 6 | x5 in [ 10, 1000]; 7 | x6 in [10, 1000]; 8 | x7 in [ 10, 1000]; 9 | x8 in [ 10, 1000]; 10 | 11 | 12 | minimize x1 + x2 + x3; 13 | 14 | constraints 15 | x4 + x6 <= 400; 16 | 17 | - x4 + x5 + x7 <= 300; 18 | 19 | - x5 + x8 <= 100; 20 | 21 | x1 *(1-x6) + 833.333333333333*x4 <= 83333.3333333333; 22 | 23 | x2* (x4 - x7 )- 1250*x4 + 1250*x5 <= 0; 24 | 25 | x3* (x5 -x8) - 2500*x5 <= -1250000; 26 | 27 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex6_1_2.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [1.e-6, 1]; 6 | x3 in [1.e-6, 1]; 7 | x4 in [0, 1.e8]; 8 | x5 in [0, 1.e8]; 9 | 10 | 11 | 12 | minimize x2*(0.06391 + ln(x2)) + x3*(ln(x3) - 0.02875) + 13 | 0.925356626778358*x2*x5 + 0.746014540096753*x3*x4; 14 | 15 | constraints 16 | 17 | x4*(x2 + 0.159040857374844*x3) - x2 =0; 18 | 19 | 20 | x5*(0.307941026821595*x2 + x3) - x3 =0; 21 | 22 | 23 | x2 + x3 - 1 =0; 24 | 25 | 26 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex7_2_10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [ 0.01, 10]; 3 | x2 in [ 0.01, 10]; 4 | x3 in [ 0.01, 10]; 5 | x4 in [ 0.01, 10]; 6 | x5 in [ 0.01, 10]; 7 | x6 in [ 0.01, 10]; 8 | x7 in [ 0.01, 10]; 9 | x8 in [ 0.01, 10]; 10 | x9 in [ 0.01, 10]; 11 | x10 in [ 0.01, 10]; 12 | x11 in [ 0.01, 10]; 13 | 14 | 15 | 16 | minimize 1/x3; 17 | 18 | constraints 19 | 20 | 21 | x7*x10 + 0.1*x10 <= 1; 22 | 23 | 10*x1*x4 + 10*x1*x4*x7^2 <= 1; 24 | 25 | 1/x4 - 100*x7*x10 <= 1; 26 | 27 | x10/x11 - 10*x8 <= 1; 28 | 29 | x2*x5/x1 - x2*x5*x8^2/x1 <= 1; 30 | 31 | 1/x5 - 10*x8*x11/x1 <= 1; 32 | 33 | - 10*x9 + 10*x11 <= 1; 34 | 35 | x3*x6/x2 - x3*x6*x9^2/x2 <= 1; 36 | 37 | 1/x6 - x9/x2 <= 1; 38 | 39 | end 40 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex7_2_2.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | 6 | x1 in [ 0, 1]; 7 | x2 in [0,1]; 8 | x3 in [0, 1]; 9 | x4 in [0, 1]; 10 | x5 in [ 1.e-5, 16]; 11 | x6 in [ 1.e-5,16]; 12 | 13 | 14 | minimize 15 | - x4; 16 | constraints 17 | x1 * (0.09755988*x5 + 1) - 1 =0; 18 | 19 | 20 | x2* (0.0965842812*x6 +1) - x1 =0; 21 | 22 | 23 | x3 * ( 0.0391908*x5 + 1) + x1 -1 =0; 24 | 25 | 26 | x4 *( 0.03527172*x6 +1) - x1 + x2 - x3 =0; 27 | 28 | 29 | sqrt(x5) + sqrt (x6) <= 4; 30 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex7_2_3.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x1 in[ 100, 10000]; 5 | x2 in [1000, 10000]; 6 | x3 in [ 1000, 10000]; 7 | x4 in [ 10, 1000]; 8 | x5 in [10, 1000]; 9 | x6 in [10, 1000]; 10 | x7 in [ 10, 1000]; 11 | x8 in[ 10, 1000]; 12 | 13 | 14 | 15 | 16 | minimize x1 + x2 + x3; 17 | 18 | constraints 19 | 20 | 833.33252*x4/x1/x6 + 100/x6 - 83333.333/(x1*x6) <= 1; 21 | 22 | 1250*x5/x2/x7 + x4/x7 - 1250*x4/x2/x7 <= 1; 23 | 24 | 1250000/(x3*x8) + x5/x8 - 2500*x5/x3/x8 <= 1; 25 | 26 | 0.0025*x4 + 0.0025*x6 <= 1; 27 | 28 | - 0.0025*x4 + 0.0025*x5 + 0.0025*x7 <= 1; 29 | 30 | - 0.01*x5 + 0.01*x8 <= 1; 31 | 32 | end 33 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex7_2_3bis.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x1 in[ 100, 10000]; 5 | x2 in [1000, 10000]; 6 | x3 in [ 1000, 10000]; 7 | x4 in [ 10, 1000]; 8 | x5 in [10, 1000]; 9 | x6 in [10, 1000]; 10 | x7 in [ 10, 1000]; 11 | x8 in[ 10, 1000]; 12 | 13 | 14 | 15 | 16 | minimize x1 + x2 + x3; 17 | 18 | constraints 19 | 20 | ( 833.33252*x4/x1 + 100 - 83333.333/x1) <= x6; 21 | 22 | 1250*x5/x2 + x4 - 1250*x4/x2 <= x7; 23 | 24 | 1250000/(x3) + x5 - 2500*x5/x3 <= x8; 25 | 26 | 0.0025*x4 + 0.0025*x6 <= 1; 27 | 28 | - 0.0025*x4 + 0.0025*x5 + 0.0025*x7 <= 1; 29 | 30 | - 0.01*x5 + 0.01*x8 <= 1; 31 | 32 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex7_2_5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [ 78, 102]; 4 | x2 in [ 33, 45]; 5 | x3 in [ 27, 45]; 6 | x4 in [ 27, 45]; 7 | x5 in [ 27, 45]; 8 | 9 | 10 | 11 | 12 | minimize 5.3578*x3^2 + 0.8357*x1*x5 + 37.2392*x1; 13 | 14 | constraints 15 | 2.584e-5*x3*x5 - 6.663e-5*x2*x5 - 7.34e-5*x1*x4 <= 1; 16 | 17 | 0.000853007*x2*x5 + 9.395e-5*x1*x4 - 0.00033085*x3*x5 <= 1; 18 | 19 | 1330.3294/(x2*x5) - 0.42*x1/x5 - 0.30586*x3^2/x2/x5 <= 1; 20 | 21 | 0.00024186*x2*x5 + 0.00010159*x1*x2 + 7.379e-5*x3^2 <= 1; 22 | 23 | 2275.1327/(x3*x5) - 0.2668*x1/x5 - 0.40584*x4/x5 <= 1; 24 | 25 | 0.00029955*x3*x5 + 7.992e-5*x1*x3 + 0.00012157*x3*x4 <= 1; 26 | 27 | end 28 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex7_2_6.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [1,100]; 3 | x2 in [1,100]; 4 | x3 in [1,100]; 5 | 6 | 7 | 8 | minimize 0.5*x1/x2 - x1 - 5/x2; 9 | 10 | constraints 11 | 12 | 0.01*x2/x3 + 0.0005*x1*x3 + 0.01*x1 <= 1; 13 | 14 | end 15 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex7_2_7.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [ 0.1, 10]; 4 | x2 in [0.1, 10]; 5 | x3 in [0.1, 10]; 6 | x4 in [0.1, 10]; 7 | 8 | minimize 9 | 10 | 0.4*exp (0.67 * ln(x1))/exp(0.67*ln(x3)) - x1; 11 | 12 | constraints 13 | 0.05882*x3*x4 + 0.1*x1 <= 1; 14 | 15 | 4*x2/x4 + 2/(exp(0.71*ln(x2))*x4) + 0.05882*x3/exp(1.3*ln(x2)) <= 1; 16 | 17 | end 18 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex7_3_1.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x1 in [0,1.e8]; 5 | x2 in [0,1.e8]; 6 | x3 in [0,1.e8]; 7 | x4 in [0,1.e8]; 8 | 9 | 10 | 11 | minimize x4; 12 | 13 | constraints 14 | 15 | 10*x2^2*x3^3 + 10*x2^3*x3^2 + 200*x2^2*x3^2 + 100*x2^3*x3 + 100*x2*x3^3 + 16 | x1*x2*x3^2 + x1*x2^2*x3 + 1000*x2*x3^2 + 8*x1*x3^2 + 1000*x2^2*x3 + 8*x1*x2 17 | ^2 + 6*x1*x2*x3 - x1^2 + 60*x1*x3 + 60*x1*x2 - 200*x1 <= 0; 18 | 19 | - x1 - 800*x4 <= -800; 20 | 21 | x1 - 800*x4 <= 800; 22 | 23 | - x2 - 2*x4 <= -4; 24 | 25 | x2 - 2*x4 <= 4; 26 | 27 | - x3 - 3*x4 <= -6; 28 | 29 | x3 - 3*x4 <= 6; 30 | 31 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex7_3_2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x1 in [-1.e8,1.e8]; 3 | x2 in [-1.e8,1.e8]; 4 | x3 in [-1.e8,1.e8]; 5 | x4 in [-1.e8,1.e8]; 6 | 7 | 8 | 9 | 10 | minimize x4; 11 | 12 | constraints 13 | 14 | x1^4*x2^4 - x1^4 - x2^4*x3 <= 0; 15 | 16 | - x1 - 0.25*x4 <= -1.4; 17 | 18 | x1 - 0.25*x4 <= 1.4; 19 | 20 | - x2 - 0.2*x4 <= -1.5; 21 | 22 | x2 - 0.2*x4 <= 1.5; 23 | 24 | - x3 - 0.2*x4 <= -0.8; 25 | 26 | x3 - 0.2*x4 <= 0.8; 27 | 28 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex7_3_3.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | 6 | x1 in [-1.e8,1.e8]; 7 | x2 in [-1.e8,1.e8]; 8 | x3 in [-1.e8,1.e8]; 9 | x4 in [0,10]; 10 | x5 in [-1.e8,1.e8]; 11 | 12 | 13 | 14 | 15 | minimize x5; 16 | 17 | constraints 18 | 19 | 9.625*x1*x4 - 4*x1 - 78*x4 + 16*x2*x4 - x2 + 16*x4^2 + x3 + 12 =0; 20 | 21 | 22 | 16*x1*x4 - 19*x1 - 24*x4 - 8*x2 - x3 + 44 =0; 23 | 24 | 25 | x1 - 0.25*x5 <= 2.25; 26 | 27 | - x1 - 0.25*x5 <= -2.25; 28 | 29 | - x2 - 0.5*x5 <= -1.5; 30 | 31 | x2 - 0.5*x5 <= 1.5; 32 | 33 | - x3 - 1.5*x5 <= -1.5; 34 | 35 | x3 - 1.5*x5 <= 1.5; 36 | 37 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_1_1.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [ -1, 2]; 4 | x2 in [-1, 1]; 5 | 6 | 7 | 8 | 9 | minimize cos(x1)*sin(x2) - x1/(1 + x2^2); 10 | 11 | constraints 12 | x1 <= 2; 13 | x2 <= 1; 14 | 15 | end 16 | 17 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_1_2.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [ 0, 6.28318]; 4 | 5 | 6 | minimize 588600/(10.8095222429746 - 4.21478541710781*cos(x1 - 7 | 2.09439333333333))^6 - 1079.1/(10.8095222429746 - 8 | 4.21478541710781*cos(x1 - 2.09439333333333))^3 + 600800/( 9 | 10.8095222429746 - 4.21478541710781*cos(x1))^6 - 1071.5/( 10 | 10.8095222429746 - 4.21478541710781*cos(x1))^3 + 481300/( 11 | 10.8095222429746 - 4.21478541710781*cos(2.09439333333333 + x1))^6 12 | - 1064.6/(10.8095222429746 - 4.21478541710781*cos( 13 | 2.09439333333333 + x1))^3; 14 | 15 | 16 | constraints 17 | x1 >=0; 18 | end 19 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_1_4.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [-1.e8,1.e8]; 4 | x2 in [-1.e8,1.e8]; 5 | 6 | 7 | 8 | minimize 12*x1^2 - 6.3*x1^4 + x1^6 - 6*x1*x2 + 6*x2^2; 9 | 10 | constraints 11 | x1 >= -1.e8; 12 | x2 >= -1.e8 13 | end 14 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_1_5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-1.e8,1.e8]; 4 | x2 in [-1.e8,1.e8]; 5 | 6 | 7 | 8 | 9 | minimize 4*x1^2 - 2.1*x1^4 + 0.333333333333333*x1^6 + x1*x2 - 4*x2^2 + 4*x2^4; 10 | 11 | constraints 12 | x1 >= -1.e8; 13 | x2 >= -1.e8; 14 | 15 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_1_6.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-1.e8,1.e8]; 4 | x2 in [-1.e8,1.e8]; 5 | 6 | 7 | minimize (-1/(0.1 + (x1 - 4)^2 + (x2 - 4)^2)) - 1/(0.2 + (x1 - 1)^2 + (x2 8 | - 1)^2) - 1/(0.2 + (x1 - 8)^2 + (x2 - 8)^2); 9 | 10 | constraints 11 | x1 >= -1.e8; 12 | x2 >= -1.e8; 13 | 14 | end 15 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_1_6bis.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-1.e100,1.e100]; 4 | x2 in[-1.e100,1.e100]; 5 | 6 | 7 | minimize (-1/(0.1 + (x1 - 4)^2 + (x2 - 4)^2)) - 1/(0.2 + (x1 - 1)^2 + (x2 8 | - 1)^2) - 1/(0.2 + (x1 - 8)^2 + (x2 - 8)^2); 9 | 10 | constraints 11 | x1 >= -1.e8; 12 | x2 >= -1.e8; 13 | end 14 | 15 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_1_7.bch: -------------------------------------------------------------------------------- 1 | Constants 2 | 3 | 4 | Variables 5 | 6 | x1 in [ -5, 5]; 7 | x2 in [ -5, 5]; 8 | x3 in [ -5, 5]; 9 | x4 in [ -5, 5]; 10 | x5 in [ -5, 5]; 11 | 12 | 13 | minimize (x1 - 1)^2 + (x1 - x2)^2 + (x2 - x3)^3 + (x3 - x4)^4 + (x4 - x5)^ 4 ; 14 | 15 | constraints 16 | 17 | x2^2 + x3^3 + x1 - 6.24264068711929 =0; 18 | 19 | - x3^2 + x2 + x4 - 0.82842712474619 =0; 20 | 21 | 0.5*x1*x5 + 0.5*x1*x5 - 2 =0; 22 | 23 | end 24 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_1_8.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | variables 4 | 5 | x1 in [0, 1]; 6 | x2 in [0, 1]; 7 | x3 in [0, 1]; 8 | x4 in [0, 1]; 9 | x5 in [1.e-5, 16]; 10 | x6 in [1.e-5, 16]; 11 | 12 | 13 | 14 | minimize - x4; 15 | 16 | constraints 17 | 18 | 0.09755988*x1*x5 + x1 - 1 =0; 19 | 20 | 21 | 0.0965842812*x2*x6 + x2 - x1 =0; 22 | 23 | 24 | 0.0391908*x3*x5 + x3 + x1 - 1 =0; 25 | 26 | 27 | 0.03527172*x4*x6 + x4 - x1 + x2 - x3 =0; 28 | 29 | 30 | sqrt (x5) + sqrt ( x6) <= 4; 31 | 32 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_1_8bis.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | variables 4 | 5 | x1 in [0, 1]; 6 | x2 in [0, 1]; 7 | x3 in [0, 1]; 8 | x4 in [0, 1]; 9 | x5 in [1.e-5, 16]; 10 | x6 in [1.e-5, 16]; 11 | 12 | 13 | 14 | minimize - x4; 15 | 16 | constraints 17 | 18 | x1* (0.09755988*x5 + 1) - 1 =0; 19 | 20 | 21 | x2* ( 0.0965842812*x6 + 1) - x1 =0; 22 | 23 | 24 | x3 *( 0.0391908*x5 + 1) + x1 - 1 =0; 25 | 26 | 27 | x4 *( 0.03527172*x6 + 1) - x1 + x2 - x3 =0; 28 | 29 | 30 | sqrt (x5) + sqrt ( x6) <= 4; 31 | 32 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_4inf-1.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [-1.e8,+oo]; 4 | x2 in [-1.e8,1.e8]; 5 | 6 | 7 | 8 | minimize - x1^2 + 6*x2^2; 9 | 10 | constraints 11 | x1 >= -1.e8; 12 | x2 >= -1.e8; 13 | end 14 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_5_3-1.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | 6 | x2 in [0.05,1.e8]; 7 | x3 in [1.e-20,1.e8]; 8 | x4 in [1.e-20,1.e8]; 9 | x5 in [-1.e8,1.e8]; 10 | x6 in [1.e-20,1.e8]; 11 | 12 | 13 | 14 | 15 | minimize x2*ln(x2) + x3*ln(x3) - ln(x4 - x6) + x4 - x5*ln(1 + x6/x4)/ 16 | x6 + 5.0464317551216*x2 + 0.366877055769689*x3 - 1; 17 | 18 | constraints 19 | 20 | x4^3 - x4^2 + (-x6^2 - x6 + x5)*x4 - x5*x6 =0; 21 | 22 | 23 | - (1.04633*x2^2 + 0.579822*x2*x3 + 0.579822*x3*x2 + 0.379615*x3^2) + x5 =0; 24 | 25 | 26 | - 0.0771517*x2 - 0.0765784*x3 + x6 =0; 27 | 28 | 29 | x2 + x3 - 1 =0; 30 | 31 | 32 | // x4 - x6 >= 1.e-10; 33 | 34 | end 35 | 36 | 37 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_5_3.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | 6 | x2 in [0.05,1.e8]; 7 | x3 in[1.e-8,1.e8]; 8 | x4 in [1.e-8,1.e8]; 9 | x5 in [-1.e8,1.e8]; 10 | x6 in [1.e-8,1.e8]; 11 | 12 | 13 | 14 | 15 | minimize 16 | 17 | x2*ln(x2) + x3*ln(x3) - ln(x4 - x6) + x4 - x5*ln(1 + x6/x4)/ x6 + 5.0464317551216*x2 + 0.366877055769689*x3 - 1; 18 | 19 | constraints 20 | 21 | x4^3 - x4^2 + (-x6^2 - x6 + x5)*x4 - x5*x6 =0; 22 | 23 | 24 | - (1.04633*x2*x2 + 0.579822*x2*x3 + 0.579822*x3*x2 + 0.379615*x3*x3) + x5 =0; 25 | 26 | 27 | - 0.0771517*x2 - 0.0765784*x3 + x6 =0; 28 | 29 | 30 | x2 + x3 - 1 =0; 31 | 32 | 33 | // x4 - x6 >= 1.e-10; 34 | 35 | end 36 | 37 | 38 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_5_4.bch: -------------------------------------------------------------------------------- 1 | 2 | constants 3 | 4 | 5 | variables 6 | 7 | 8 | x2 in [1.e-8,1.e8]; 9 | x3 in [1.e-8,1.e8]; 10 | x4 in [1.e-8,1.e8]; 11 | x5 in [1.e-8,1.e8]; 12 | x6 in [1.e-8,1.e8]; 13 | 14 | 15 | 16 | 17 | minimize x2*ln(x2) + x3*ln(x3) - ln(x4 - x6) + x4 - x5*ln(1 + x6/x4)/ 18 | x6 + 0.362259780811985*x2 + 3.27527428318836*x3 - 1; 19 | 20 | constraints 21 | 22 | x4^3 - x4^2 + (-x6^2 - x6 + x5)*x4 - x5*x6 =0; 23 | 24 | 25 | - (0.352565*x2*x2 + 0.844083*x2*x3 + 0.844083*x3*x2 + 2.14335*x3*x3) + x5 =0; 26 | 27 | 28 | - 0.12932*x2 - 0.271567*x3 + x6 =0; 29 | 30 | 31 | x2 + x3 - 1 =0; 32 | 33 | 34 | end 35 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_5_5-1.bch: -------------------------------------------------------------------------------- 1 | 2 | constants 3 | 4 | 5 | variables 6 | 7 | 8 | x2 in [1.e-8,1.e8]; 9 | x3 in [1.e-8,1.e8]; 10 | x4 in [1.e-8,1.e8]; 11 | x5 in [1.e-8,1.e8]; 12 | x6 in [1.e-8,1.e8]; 13 | 14 | 15 | 16 | minimize x2*ln(x2) + x3*ln(x3) - ln(x4 - x6) + x4 - 0.353553390593274* 17 | x5*ln((x4 + 2.41421356237309*x6)/(x4 - 0.414213562373095*x6))/x6; 18 | 19 | constraints 20 | 21 | 22 | x4^3 - (1 - x6)*x4^2 + (-3*x6^2 - 2*x6 + x5)*x4 - x5*x6 + x6^3 + x6^2 =0; 23 | 24 | 25 | - (0.884831*x2*x2 + 0.555442*x2*x3 + 0.555442*x3*x2 + 0.427888*x3*x3) + x5 =0; 26 | 27 | 28 | - 0.0885973*x2 - 0.0890893*x3 + x6 =0; 29 | 30 | 31 | x2 + x3 - 1 =0; 32 | 33 | 34 | x4-x6 >= 0; 35 | (x4 - 0.414213562373095*x6) >= 0; 36 | 37 | end 38 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex8_5_5.bch: -------------------------------------------------------------------------------- 1 | 2 | constants 3 | 4 | 5 | variables 6 | 7 | 8 | x2 in [1.e-8,1.e8]; 9 | x3 in [1.e-8,1.e8]; 10 | x4 in [1.e-8,1.e8]; 11 | x5 in [1.e-8,1.e8]; 12 | x6 in [1.e-8,1.e8]; 13 | 14 | 15 | 16 | minimize x2*ln(x2) + x3*ln(x3) - ln(x4 - x6) + x4 - 0.353553390593274* 17 | x5*ln((x4 + 2.41421356237309*x6)/(x4 - 0.414213562373095*x6))/x6 18 | + 2.5746329124341*x2 + 0.54639755131421*x3 - 1; 19 | 20 | constraints 21 | 22 | x4^3 - (1 - x6)*x4^2 + (-3*x6^2 - 2*x6 + x5)*x4 - x5*x6 + x6^3 + x6^2 =0; 23 | 24 | 25 | - (0.884831*x2*x2 + 0.555442*x2*x3 + 0.555442*x3*x2 + 0.427888*x3*x3) + x5 =0; 26 | 27 | 28 | - 0.0885973*x2 - 0.0890893*x3 + x6 =0; 29 | 30 | 31 | x2 + x3 - 1 =0; 32 | 33 | 34 | //x4-x6 >= 1.e-8; 35 | //(x4 - 0.414213562373095*x6) >= 1.e-8; 36 | 37 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex9_1_1.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | 6 | 7 | x1 in [-1.e8,1.e8]; 8 | x2 in [-1.e8,1.e8]; 9 | x4 in [0,1.e8]; 10 | x5 in [0,1.e8]; 11 | x6 in [0,1.e8]; 12 | x7 in [0,1.e8]; 13 | x8 in [0,1.e8]; 14 | x9 in [0,1.e8]; 15 | x10 in [0,1.e8]; 16 | x11 in [0,1.e8]; 17 | x12 in [0,1.e8]; 18 | x13 in [0,1.e8]; 19 | x14 in [0,1.e8]; 20 | 21 | 22 | 23 | minimize - 3*x1 + 2*x2 - x4; 24 | 25 | constraints 26 | 27 | x1 + 4*x2 - 2*x4 + x5 - 16 =0; 28 | 29 | 30 | 3*x1 - 2*x2 + 8*x4 + x6 - 48 =0; 31 | 32 | 33 | x1 - 3*x2 - 2*x4 + x7 + 12 =0; 34 | 35 | 36 | - x1 + x8 =0; 37 | 38 | 39 | x1 + x9 - 4 =0; 40 | 41 | 42 | x10*x5 =0; 43 | 44 | 45 | x11*x6 =0; 46 | 47 | 48 | x12*x7 =0; 49 | 50 | 51 | x13*x8 =0; 52 | 53 | 54 | x14*x9 =0; 55 | 56 | 57 | x10 + 3*x11 + x12 - x13 + x14 - 1 =0; 58 | 59 | 60 | 2*x11 - 3*x12 =0; 61 | 62 | 63 | end 64 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex9_1_10.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [ 0,1.e8]; 6 | x3 in [ 0,1.e8]; 7 | x4 in [ 0,1.e8]; 8 | x5 in [ 0,1.e8]; 9 | x6 in [ 0,1.e8]; 10 | x7 in [ 0,1.e8]; 11 | x8 in [ 0,1.e8]; 12 | x9 in [ 0,1.e8]; 13 | x10 in [ 0,1.e8]; 14 | x11 in [ 0,1.e8]; 15 | x12 in [ 0,1.e8]; 16 | x13 in [ 0,1.e8]; 17 | x14 in [ 0,1.e8]; 18 | x15 in [ 0,1.e8]; 19 | 20 | 21 | 22 | minimize - 2*x2 + x3 + 0.5*x4; 23 | 24 | constraints 25 | 26 | x2 + x3 <= 2; 27 | 28 | - 2*x2 + x4 - x5 + x6 + 2.5 =0; 29 | 30 | 31 | 32 | x2 - 3*x3 + x5 + x7 - 2 =0; 33 | 34 | 35 | - x4 + x8 =0; 36 | 37 | 38 | 39 | - x5 + x9 =0; 40 | 41 | 42 | x11*x6 =0; 43 | 44 | 45 | x12*x7 =0; 46 | 47 | 48 | x13*x8 =0; 49 | 50 | 51 | x14*x9 =0; 52 | 53 | 54 | x15*x10 =0; 55 | 56 | 57 | x11 - x13 - 4 =0; 58 | 59 | 60 | x11 + x12 - x14 + 1 =0; 61 | 62 | 63 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex9_1_2.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x2 in [0,1000]; 4 | x3 in [0,1000]; 5 | x4 in [0,1000]; 6 | x5 in [0,1000]; 7 | x6 in [0,1000]; 8 | x7 in [0,1000]; 9 | x8 in [0,1000]; 10 | x9 in [0,1000]; 11 | x10 in [0,1000]; 12 | x11 in [0,1000]; 13 | 14 | minimize 15 | - x2 - 3*x3; 16 | constraints 17 | 18 | - x2 + x3 + x4 - 3 =0; 19 | 20 | x2 + 2*x3 + x5 -12 =0; 21 | 22 | 4*x2 - x3 + x6 - 12 =0; 23 | 24 | - x3 + x7 =0; 25 | 26 | x8*x4 =0; 27 | 28 | x9*x5 =0; 29 | 30 | x10*x6 =0; 31 | 32 | x11*x7 =0; 33 | 34 | x8 + 2*x9 - x10 - x11 + 1 =0; 35 | 36 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex9_1_4.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | 6 | x2 in [ 0,1.e8]; 7 | x3 in [ 0,1.e8]; 8 | x4 in [0,200]; 9 | x5 in [0,200]; 10 | x6 in [0,200]; 11 | x7 in [0,200]; 12 | x8 in [0,200]; 13 | x9 in [0,200]; 14 | x10 in [0,200]; 15 | x11 in [0,200]; 16 | 17 | 18 | 19 | minimize x2 - 4*x3; 20 | 21 | constraints 22 | - 2*x2 + x3 + x4 =0; 23 | 24 | 25 | 2*x2 + 5*x3 + x5 - 108 =0; 26 | 27 | 28 | 2*x2 - 3*x3 + x6 +4 =0; 29 | 30 | 31 | - x3 + x7 =0; 32 | 33 | 34 | x8*x4 =0; 35 | 36 | 37 | x9*x5 =0; 38 | 39 | 40 | x10*x6 =0; 41 | 42 | 43 | x11*x7 =0; 44 | 45 | 46 | x8 + 5*x9 - 3*x10 - x11 +1 =0; 47 | 48 | 49 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex9_1_5.bch: -------------------------------------------------------------------------------- 1 | 2 | constants 3 | 4 | 5 | variables 6 | 7 | x2 in [ 0,1.e8]; 8 | x3 in [ 0,1.e8]; 9 | x4 in [ 0,1.e8]; 10 | x5 in [ 0,1.e8]; 11 | x6 in [ 0,1.e8]; 12 | x7 in [ 0,1.e8]; 13 | x8 in [ 0,1.e8]; 14 | x9 in [ 0,1.e8]; 15 | x10 in [ 0,1.e8]; 16 | x11 in [ 0,1.e8]; 17 | x12 in [ 0,1.e8]; 18 | x13 in [ 0,1.e8]; 19 | x14 in [ 0,1.e8]; 20 | 21 | 22 | 23 | minimize - x2 + 10*x3 - x4; 24 | 25 | constraints 26 | 27 | x2 + x3 + x5 - 1 =0; 28 | 29 | 30 | x2 + x4 + x6 - 1 =0; 31 | 32 | 33 | x3 + x4 + x7 - 1 =0; 34 | 35 | 36 | - x3 + x8 =0; 37 | 38 | 39 | - x4 + x9 =0; 40 | 41 | 42 | x10*x5 =0; 43 | 44 | x11*x6 =0; 45 | 46 | x12*x7 =0; 47 | 48 | 49 | x13*x8 =0; 50 | 51 | 52 | x14*x9 =0; 53 | 54 | 55 | x10 + x12 - x13 - 1 =0; 56 | 57 | 58 | x11 + x12 - x14 - 1 =0; 59 | 60 | end 61 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex9_1_8.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [ 0,1.e8]; 6 | x3 in [ 0,1.e8]; 7 | x4 in [ 0,1.e8]; 8 | x5 in [ 0,1.e8]; 9 | x6 in [ 0,1.e8]; 10 | x7 in [ 0,1.e8]; 11 | x8 in [ 0,1.e8]; 12 | x9 in [ 0,1.e8]; 13 | x10 in [ 0,1.e8]; 14 | x11 in [ 0,1.e8]; 15 | x12 in [ 0,1.e8]; 16 | x13 in [ 0,1.e8]; 17 | x14 in [ 0,1.e8]; 18 | x15 in [ 0,1.e8]; 19 | 20 | 21 | 22 | minimize - 2*x2 + x3 + 0.5*x4; 23 | 24 | constraints 25 | 26 | x2 + x3 <= 2; 27 | 28 | - 2*x2 + x4 - x5 + x6 + 2.5 =0; 29 | 30 | 31 | x2 - 3*x3 + x5 + x7 - 2 =0; 32 | 33 | 34 | - x4 + x8 =0; 35 | 36 | 37 | - x5 + x9 =0; 38 | 39 | 40 | 41 | x11*x6 =0; 42 | 43 | 44 | x12*x7 =0; 45 | 46 | 47 | x13*x8 =0; 48 | 49 | 50 | x14*x9 =0; 51 | 52 | 53 | x15*x10 =0; 54 | 55 | 56 | x11 - x13 - 4 =0; 57 | 58 | 59 | x11 + x12 - x14 + 1 =0; 60 | 61 | 62 | end 63 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex9_2_1.bch: -------------------------------------------------------------------------------- 1 | 2 | constants 3 | 4 | 5 | variables 6 | x2 in [0,1.e8]; 7 | x3 in [0,1.e8]; 8 | x4 in [0,20]; 9 | x5 in [0,20]; 10 | x6 in [0,20]; 11 | x7 in [0,20]; 12 | x8 in [0,20]; 13 | x9 in [0,20]; 14 | x10 in [0,20]; 15 | x11 in [0,20]; 16 | 17 | 18 | 19 | 20 | minimize (x2 - 5)^2 + (1 + 2*x3)^2; 21 | 22 | constraints 23 | - 3*x2 + x3 + x4 +3 =0; 24 | 25 | 26 | 27 | x2 - 0.5*x3 + x5 - 4 =0; 28 | 29 | 30 | x2 + x3 + x6 - 7 =0; 31 | 32 | 33 | - x3 + x7 =0; 34 | 35 | 36 | x4*x8 =0; 37 | 38 | 39 | x5*x9 =0; 40 | 41 | 42 | x6*x10 =0; 43 | 44 | 45 | x7*x11 =0; 46 | 47 | 48 | - 1.5*x2 + 2*x3 + x8 - 0.5*x9 + x10 - x11 - 2 =0; 49 | 50 | 51 | end 52 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex9_2_2.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [0,15]; 6 | x3 in [0, 15]; 7 | x4 in [0 ,20]; 8 | x5 in [0 ,20]; 9 | x6 in [0 ,20]; 10 | x7 in [0 ,20]; 11 | x8 in [0 ,20]; 12 | x9 in [0 ,20]; 13 | x10 in [0 ,20]; 14 | x11 in [0 ,20]; 15 | 16 | 17 | minimize x2^2 +(x3-10)^2; 18 | 19 | constraints 20 | 21 | - x2 + x3 <= 0; 22 | 23 | x2 + x3 + x4 - 20 =0; 24 | 25 | - x3 + x5 =0; 26 | 27 | x3 + x6 - 20 =0; 28 | 29 | x4*x8 =0; 30 | 31 | x5*x9 =0; 32 | 33 | x6*x10 =0; 34 | 35 | x7*x11 =0; 36 | 37 | 2*x2 + 4*x3 + x8 - x9 + x10 - 60 =0; 38 | 39 | 40 | end 41 | 42 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex9_2_4.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [-1.e8,1.e8]; 6 | x3 in [-1.e8,1.e8]; 7 | x4 in [-1.e8,1.e8]; 8 | x5 in [-1.e8,1.e8]; 9 | x6 in [0,200]; 10 | x7 in [0,200]; 11 | x8 in [0,200]; 12 | x9 in [0,200]; 13 | 14 | 15 | 16 | 17 | minimize (0.5*x4 - 1)*(x4 - 2) + (0.5*x5 - 1)*(x5 - 2); 18 | 19 | constraints 20 | - x3 + x4 + x5 =0; 21 | 22 | 23 | - x4 + x6 =0; 24 | 25 | 26 | - x5 + x7 =0; 27 | 28 | 29 | x6*x8 =0; 30 | 31 | 32 | x7*x9 =0; 33 | 34 | 35 | x2 + x4 - x8 =0; 36 | 37 | 38 | x2 - x9 + 1 =0; 39 | 40 | 41 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex9_2_5.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x1 in [-1.e8,1.e8]; 6 | x3 in [0,8]; 7 | x4 in [0,1.e8]; 8 | x5 in [0,1.e8]; 9 | x6 in [0,1.e8]; 10 | x7 in [0,1.e8]; 11 | x8 in [0,1.e8]; 12 | x9 in [0,1.e8]; 13 | 14 | 15 | 16 | 17 | minimize (x3 - 3)*(x3 - 3) + (x1 - 2)*(x1 - 2); 18 | 19 | constraints 20 | x1 - 2*x3 + x4 -1 =0; 21 | 22 | - 2*x1 + x3 + x5 -2 =0; 23 | 24 | 25 | 2*x1 + x3 + x6 - 14 =0; 26 | 27 | 28 | 29 | 30 | x4*x7 =0; 31 | 32 | 33 | x5*x8 =0; 34 | 35 | 36 | x6*x9 =0; 37 | 38 | 39 | 2*x1 + x7 - 2*x8 + 2*x9 - 10 =0; 40 | 41 | 42 | 43 | end -------------------------------------------------------------------------------- /benchs/optim/easy/ex9_2_7.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | variables 4 | 5 | x2 in [ 0, 1.e8]; 6 | x3 in [ 0, 1.e8]; 7 | x4 in [ 0, 20]; 8 | x5 in [ 0, 20]; 9 | x6 in [ 0, 20]; 10 | x7 in [ 0, 20]; 11 | x8 in [ 0, 20]; 12 | x9 in [ 0, 20]; 13 | x10 in [ 0, 20]; 14 | x11 in [ 0, 20]; 15 | 16 | 17 | 18 | minimize (x2 - 5)^2 + (1 + 2*x3)^2; 19 | 20 | constraints 21 | - 3*x2 + x3 + x4 + 3 =0; 22 | 23 | 24 | x2 - 0.5*x3 + x5 - 4 =0; 25 | 26 | 27 | x2 + x3 + x6 - 7 =0; 28 | 29 | 30 | - x3 + x7 =0; 31 | 32 | 33 | x4*x8 =0; 34 | 35 | 36 | x5*x9 =0; 37 | 38 | 39 | x6*x10 =0; 40 | 41 | 42 | x7*x11 =0; 43 | 44 | 45 | - 1.5*x2 + 2*x3 + x8 - 0.5*x9 + x10 - x11 - 2 =0; 46 | 47 | 48 | 49 | end 50 | -------------------------------------------------------------------------------- /benchs/optim/easy/ex9_2_8.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [0,1]; 6 | x3 in [ 0,1.e8]; 7 | x4 in [0, 20]; 8 | x5 in [0, 20]; 9 | x6 in [ 0,1.e8]; 10 | x7 in [ 0,1.e8]; 11 | 12 | 13 | 14 | 15 | 16 | minimize 3*x3 - 4*x2*x3 + 2*x2 + 1; 17 | 18 | constraints 19 | 20 | - x3 + x4 =0; 21 | 22 | 23 | x3 + x5 -1 =0; 24 | 25 | 26 | x6*x4 =0; 27 | 28 | 29 | x7*x5 =0; 30 | 31 | 32 | 4*x2 - x6 + x7 -1 =0; 33 | 34 | 35 | end 36 | -------------------------------------------------------------------------------- /benchs/optim/easy/exbaron.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | 4 | x1 in [-10,10]; 5 | x2 in [-10,10]; 6 | 7 | 8 | 9 | minimize x1; 10 | 11 | constraints 12 | x1^2 - x2 <= 0 ; 13 | x2 - x1^2* (x1-2) + 1.e-5 <=0 ; 14 | 15 | end -------------------------------------------------------------------------------- /benchs/optim/easy/exinfinity2.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [-oo,+oo]; 4 | x2 in [-1.e8,1.e8]; 5 | 6 | 7 | 8 | minimize 12*x1^2 + 6*x2^2; 9 | 10 | constraints 11 | x1 >= -1.e8; 12 | end 13 | -------------------------------------------------------------------------------- /benchs/optim/easy/exinfinity3.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [-oo,1.e8]; 4 | x2 in [-1.e8,1.e8]; 5 | 6 | 7 | 8 | minimize 12*x1^2 + 6*x2^2; 9 | 10 | constraints 11 | x1 >= -1.e8; 12 | end 13 | -------------------------------------------------------------------------------- /benchs/optim/easy/exp40.bch: -------------------------------------------------------------------------------- 1 | 2 | 3 | variables 4 | x in [-10, +10]; 5 | 6 | 7 | 8 | minimize exp(10^40* x) ; 9 | constraints 10 | x >= -1.e-8; 11 | x <= 1.e-8; 12 | end 13 | 14 | -------------------------------------------------------------------------------- /benchs/optim/easy/f1.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-10,10]; 4 | x2 in [-10,10]; 5 | x3 in [-10,10]; 6 | 7 | 8 | 9 | 10 | minimize x1^2+x2^2+x3^2; 11 | constraints 12 | 13 | x1 <= 10; 14 | x2 <= 10; 15 | x3 <= 10; 16 | 17 | end 18 | 19 | -------------------------------------------------------------------------------- /benchs/optim/easy/griewank.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-100,100]; 4 | x2 in [-100,100]; 5 | x3 in [-100,100]; 6 | x4 in [-100,100]; 7 | x5 in [-100,100]; 8 | 9 | minimize 10 | 11 | 1/4000 * (x1^2 + x2^2 + x3^2 + x4^2) - cos (x1) * cos (x2/sqrt(2)) * cos (x3 / sqrt(3)) * cos (x4/2) + 1; 12 | constraints 13 | 14 | x1 <= 100; 15 | x1 <= 100; 16 | x1 <= 100; 17 | x1 <= 100; 18 | x1 <= 100; 19 | 20 | end 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /benchs/optim/easy/himmel11.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x1 in [ 0, 92]; 6 | x2 in [ 90, 110]; 7 | x3 in [ 20, 25]; 8 | x4 in [0,1.e8]; 9 | x5 in [ 78, 102]; 10 | x6 in [ 33, 45]; 11 | x7 in [ 27, 45]; 12 | x8 in [ 27, 45]; 13 | x9 in [ 27, 45]; 14 | 15 | 16 | 17 | 18 | minimize 5.3578547*x7^2 + 0.8356891*x5*x9 + 37.293239*x5 + 5000*x4 19 | - 40792.141; 20 | 21 | constraints 22 | 23 | 5*x4 - x5 + 7*x7 - x9 >= 0; 24 | 25 | - (0.0056858*x6*x9 + 0.0006262*x5*x8 - 0.0022053*x7*x9) + x1 + 2*x4 - 85.334407 =0; 26 | 27 | 28 | - (0.0071317*x6*x9 + 0.0029955*x5*x6 + 0.0021813*x7^2) + x2 - 80.51249 =0; 29 | 30 | 31 | - (0.0047026*x7*x9 + 0.0012547*x5*x7 + 0.0019085*x7*x8) + x3 + 4*x4 - 9.300961 =0; 32 | 33 | 34 | end -------------------------------------------------------------------------------- /benchs/optim/easy/hockschittkowski.mbx: -------------------------------------------------------------------------------- 1 | // Source: http://apmonitor.com/wiki/uploads/Apps/hs071.apm 2 | // ! best known objective = 17.0140173 3 | 4 | 5 | variables 6 | 7 | x1 in [1,5]; 8 | x2 in [1,5]; 9 | x3 in [1,5]; 10 | x4 in [1,5]; 11 | 12 | 13 | minimize 14 | x1*x4*(x1+x2+x3) + x3; 15 | 16 | constraints 17 | x1*x2*x3*x4 > 25; 18 | x1^2 + x2^2 + x3^2 + x4^2 = 40; 19 | end 20 | -------------------------------------------------------------------------------- /benchs/optim/easy/house.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x1 in [-1.e8,1.e8]; 6 | x2 in [-1.e8,1.e8]; 7 | x3 in [-1.e8,1.e8]; 8 | x4 in [ 40, 68]; 9 | x5 in [-1.e8,1.e8]; 10 | x6 in [ 56, 100]; 11 | x7 in [-1.e8,3000]; 12 | x8 in [-1.e8,1.e8]; 13 | 14 | 15 | 16 | minimize - x7 - x8; 17 | 18 | constraints 19 | 20 | - (x1*x2 + x5*x4) + x7 =0; 21 | 22 | 23 | - x1*x3 + x8 =0; 24 | 25 | 26 | - x2 - x5 + x6 =0; 27 | 28 | 29 | x1 - 0.333333333333333*x4 >= 0; 30 | 31 | x1 - 0.5*x4 <= 0; 32 | 33 | x2*(x4 - x1) >= 1500; 34 | 35 | - 0.5*x2 + x3 - x5 =0; 36 | 37 | 38 | - 0.5*x2 + x5 =0; 39 | 40 | 41 | end 42 | -------------------------------------------------------------------------------- /benchs/optim/easy/hs071.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | 5 | variables 6 | x1 in [1,5]; 7 | x2 in [1,5]; 8 | x3 in [1,5]; 9 | x4 in [1,5]; 10 | 11 | 12 | 13 | 14 | minimize x1 *x4*(x1 + x2 + x3) + x3; 15 | 16 | constraints 17 | x1*x2*x3*x4 >= 25; 18 | x1^2+x2^2+x3^2+x4^2 -40 =0; 19 | 20 | 21 | end 22 | -------------------------------------------------------------------------------- /benchs/optim/easy/m4wd.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | 6 | 7 | x2 in [-1.e8,1.e8]; 8 | x3 in [-1.e8,1.e8]; 9 | x4 in [-1.e8,1.e8]; 10 | 11 | x5 in [-1.e8,1.e8]; 12 | x6 in [-1.e8,1.e8]; 13 | 14 | 15 | 16 | minimize (x2 - 1)^2 + (x2 - x3)^2 + (x3 - x4)^3 + (x4 - x5)^4 + (x5 - x6)^ 4; 17 | 18 | constraints 19 | 20 | x3^2 + x4^3 + x2 - 6.24264068711929 =0; 21 | 22 | 23 | 24 | - x4^2 + x3 + x5 - 0.82842712474619 =0; 25 | 26 | 27 | x2*x6 - 2 =0; 28 | 29 | 30 | 31 | end -------------------------------------------------------------------------------- /benchs/optim/easy/pressure-vessel.bch: -------------------------------------------------------------------------------- 1 | Constants 2 | 3 | PI = 3.14159265; 4 | 5 | Variables 6 | 7 | x1 in [0.0625, 99]; 8 | x2 in [0.0625, 99]; 9 | x3 in [10, 200]; 10 | x4 in [10, 200]; 11 | 12 | 13 | Minimize 14 | 15 | 0.6224*x1*x3*x4 + 1.7781*x2*x3^2 + 3.1661*x1^2*x4 + 19.84*x1^2*x3 16 | 17 | Constraints 18 | 19 | -x1 + 0.0193*x3 <= 0; 20 | 21 | -x2 + 0.00954 <= 0; 22 | 23 | -PI*x3^2*x4 - (4/3)*PI*x3^3 + 1296000 <= 0; 24 | 25 | 26 | end -------------------------------------------------------------------------------- /benchs/optim/easy/rastrigin.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-10,10]; 4 | x2 in [-10,10]; 5 | x3 in [-10,10]; 6 | x4 in [-10,10]; 7 | x5 in [-10,10]; 8 | 9 | 10 | 11 | 12 | minimize 50 + x1^2 + x2 ^2 + x3 ^2 + x4^2 + x5^2 - 10 *cos (2*pi*x1) - 10 *cos (2*pi*x2) - 10 *cos (2*pi*x3) 13 | - 10 *cos (2*pi*x4) - 10 *cos (2*pi*x5) ; 14 | 15 | 16 | constraints 17 | 18 | x1 <= 10; 19 | x2 <= 10; 20 | x3 <= 10; 21 | x4 <= 10; 22 | x5 <= 10; 23 | 24 | end 25 | -------------------------------------------------------------------------------- /benchs/optim/easy/rosenbrock.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-2.048,2.048]; 4 | x2 in [-2.048,2.048]; 5 | 6 | minimize 7 | 8 | 100 * (x2 - x1^2)^2 + (1 -x1) ^ 2; 9 | 10 | constraints 11 | x1 <= 3; 12 | x2 <= 3; 13 | 14 | end 15 | -------------------------------------------------------------------------------- /benchs/optim/easy/rosenbrock10.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-2.048,2.048]; 4 | x2 in [-2.048,2.048]; 5 | x3 in [-2.048,2.048]; 6 | x4 in [-2.048,2.048]; 7 | x5 in [-2.048,2.048]; 8 | x6 in [-2.048,2.048]; 9 | x7 in [-2.048,2.048]; 10 | x8 in [-2.048,2.048]; 11 | x9 in [-2.048,2.048]; 12 | x10 in [-2.048,2.048]; 13 | 14 | 15 | 16 | 17 | 18 | minimize 100*(x2^2-x1)^2 + (1-x1)^2 + 100*(x3^2-x2)^2 + (1-x2)^2 + 100*(x4^2-x3)^2 + (1-x3)^2 + 100*(x5^2-x4)^2 + (1-x4)^2 + 100*(x6^2-x5)^2 + (1-x5)^2 + 100*(x7^2-x6)^2 + (1-x6)^2 + 100*(x8^2-x7)^2 + (1-x7)^2 + 100*(x9^2-x8)^2 + (1-x8)^2 + 100*(x10^2-x9)^2 + (1-x9)^2; 19 | 20 | constraints 21 | x1 <= 3; 22 | x2 <= 3; 23 | x3 <= 3; 24 | x4 <= 3; 25 | x5 <= 3; 26 | x6 <= 3; 27 | x7 <= 3; 28 | x8 <= 3; 29 | x9 <= 3; 30 | x10 <= 3; 31 | 32 | end 33 | -------------------------------------------------------------------------------- /benchs/optim/easy/schaffer.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-100,100]; 4 | x2 in [-100,100]; 5 | 6 | 7 | minimize 8 | 9 | 0.5 + ((sin (sqrt (x1^2 + x2^2)))^2 - 0.5) /( (1 + 0.0001 * (x1^2 + x2^2))^2); 10 | 11 | 12 | constraints 13 | 14 | x1 <= 100; 15 | x2 <= 100; 16 | 17 | end 18 | -------------------------------------------------------------------------------- /benchs/optim/easy/test_infinity1.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [-1.e8,+oo]; 4 | x2 in [-1.e8,1.e8]; 5 | 6 | 7 | 8 | minimize - x1^2 + 6*x2^2; 9 | 10 | constraints 11 | x1 >= -1.e8; 12 | x2 >= -1.e8; 13 | end 14 | -------------------------------------------------------------------------------- /benchs/optim/easy/test_infinity2.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [-oo,+oo]; 4 | x2 in [-1.e8,1.e8]; 5 | 6 | 7 | 8 | minimize x1^4 + 6*x2^2; 9 | 10 | constraints 11 | //x1 >= -1.e8; 12 | x2 >= -1.e8; 13 | 14 | end 15 | -------------------------------------------------------------------------------- /benchs/optim/easy/wall.bch: -------------------------------------------------------------------------------- 1 | Constants 2 | 3 | 4 | variables 5 | x1 in [-1.e8,1.e8]; 6 | x2 in [-1.e8,1.e8]; 7 | x3 in [-1.e8,1.e8]; 8 | x4 in [-1.e8,1.e8]; 9 | x5 in [-1.e8,1.e8]; 10 | x6 in [-1.e8,1.e8]; 11 | 12 | 13 | 14 | 15 | minimize x1; 16 | 17 | constraints 18 | 19 | x1*x2 - 1 =0; 20 | 21 | 22 | x3/x1/x4 - 4.8 =0; 23 | 24 | 25 | x5/x2/x6 - 0.98 =0; 26 | 27 | 28 | x6*x4 - 1 =0; 29 | 30 | 31 | x1 - x2 + 1.e-7*x3 - 1.e-5*x5 =0; 32 | 33 | 34 | 2*x1 - 2*x2 + 1.e-7*x3 - 0.01*x4 - 1.e-5*x5 + 0.01*x6 =0; 35 | 36 | 37 | end -------------------------------------------------------------------------------- /benchs/optim/hard/ex8_5_1bis.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [ 1.e-8, 1.e8]; 6 | x3 in [1.e-8 ,1.e8]; 7 | x4 in [ 1.e-8, 1.e8]; 8 | x5 in [ 1.e-8,1.e8]; 9 | x6 in [1.e-8,1.e8]; 10 | x7 in [1.e-8,1.e8]; 11 | z in [1.e-8,1.e8]; 12 | 13 | 14 | 15 | minimize x2*ln(x2) + x3*ln(x3) + x4*ln(x4) + x7/(z) - ln(z 16 | ) - 2*x6/x5 + 0.430983578191493*x2 + 3.80082402249182*x3 + 17 | 2.92297302249182*x4; 18 | 19 | constraints 20 | x5^3 - (1 + x7)*x5^2 + x6*x5 - x6*x7 =0; 21 | 22 | 23 | - (0.37943*x2*x2 + 0.75885*x2*x3 + 0.48991*x2*x4 + 0.75885*x3*x2 + 0.8836* 24 | x3*x3 + 0.23612*x3*x4 + 0.48991*x4*x2 + 0.23612*x4*x3 + 0.63263*x4*x4) + x6 =0; 25 | 26 | 27 | - 0.14998*x2 - 0.14998*x3 - 0.14998*x4 + x7 =0; 28 | 29 | 30 | x2 + x3 + x4 - 1 =0; 31 | 32 | 33 | z - (x5 - x7) =0; 34 | 35 | 36 | x5-x7 >=0; 37 | 38 | end -------------------------------------------------------------------------------- /benchs/optim/medium/ex2_1_9.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | //eps in [1.e-4,1.e-4]; 6 | x1 in [ 0,1]; 7 | x2 in [ 0,1]; 8 | x3 in [ 0,1]; 9 | x4 in [ 0,1]; 10 | x5 in [ 0,1]; 11 | x6 in [ 0,1]; 12 | x7 in [ 0,1]; 13 | x8 in [ 0,1]; 14 | x9 in [ 0,1]; 15 | x10 in [ 0,1]; 16 | 17 | 18 | 19 | 20 | minimize - (x1*x2 + x2*x3 + x3*x4 + x4*x5 + x5*x6 + x6*x7 + x7*x8 + x8*x9 21 | + x9*x10 + x1*x3 + x2*x4 + x3*x5 + x4*x6 + x5*x7 + x6*x8 + x7*x9 22 | + x8*x10 + x1*x9 + x1*x10 + x2*x10 + x1*x5 + x4*x7); 23 | 24 | constraints 25 | 26 | x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9 + x10 - 1 =0; 27 | 28 | 29 | end -------------------------------------------------------------------------------- /benchs/optim/medium/ex2_1_9fact.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x1 in [ 0,1]; 6 | x2 in [ 0,1]; 7 | x3 in [ 0,1]; 8 | x4 in [ 0,1]; 9 | x5 in [ 0,1]; 10 | x6 in [ 0,1]; 11 | x7 in [ 0,1]; 12 | x8 in [ 0,1]; 13 | x9 in [ 0,1]; 14 | x10 in [ 0,1]; 15 | 16 | 17 | 18 | 19 | minimize - (x1* (x2 + x3 + x9 + x10 + x5) + x2 *(x3+ x4 +x10) + x3* (x4 + x5) + x4*( x5 + x6 + x7) + x5* (x6 + x7) + x6* (x7 + x8) + x7* (x8 + x9) + x8*(x9 + x10) + x9*x10 ); 20 | 21 | constraints 22 | 23 | x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9 + x10 - 1 =0; 24 | 25 | end -------------------------------------------------------------------------------- /benchs/optim/medium/ex5_2_2_case3.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | 6 | x1 in [ 0, 100]; 7 | x2 in [ 0, 200]; 8 | x3 in[ 0, 500]; 9 | x4 in[ 0, 500]; 10 | x5 in[ 0, 500]; 11 | x6 in[ 0, 500]; 12 | x7 in[ 0, 500]; 13 | x8 in[ 0, 500]; 14 | x9 in[ 0, 500]; 15 | 16 | 17 | minimize - 9*x1 - 15*x2 + 6*x3 + 13*x4 + 10*x5 + 10*x6; 18 | 19 | constraints 20 | - x3 - x4 + x8 + x9 =0; 21 | 22 | 23 | x1 - x5 - x8 =0; 24 | 25 | 26 | x2 - x6 - x9 =0; 27 | 28 | 29 | x7*x8 - 2.5*x1 + 2*x5 <= 0; 30 | x7*x9 - 1.5*x2 + 2*x6 <= 0; 31 | 32 | x7*x8 + x7*x9 - 3*x3 - x4 =0; 33 | 34 | 35 | end 36 | -------------------------------------------------------------------------------- /benchs/optim/medium/ex6_1_4.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | 5 | variables 6 | 7 | 8 | x2 in[ 1.e-6, 1]; 9 | x3 in[ 1.e-6, 1]; 10 | x4 in[ 1.e-6, 1]; 11 | x5 in [0,1.e8]; 12 | x6 in [0,1.e8]; 13 | x7 in [0,1.e8]; 14 | 15 | 16 | 17 | minimize x2*(0.28809 + ln(x2)) + x3*(ln(x3) - 0.29158) + x4*(0.59336 + 18 | ln(x4)) + x2*(1.44805026165593*x6 + 0.989428667054834*x7) + x3*( 19 | 1.12676386427658*x5 + 1.00363012835441*x7) + x4*( 20 | 0.0347225450624344*x5 + 0.82681418300153*x6); 21 | 22 | constraints 23 | 24 | 25 | x5*(x2 + 0.145002897355373*x3 + 0.989528214945409*x4) - x2 =0; 26 | 27 | 28 | x6*(0.293701311601799*x2 + x3 + 0.646291923054068*x4) - x3 =0; 29 | 30 | 31 | 32 | 33 | x7*(0.619143628558899*x2 + 0.239837817616513*x3 + x4) - x4 =0; 34 | 35 | 36 | x2 + x3 + x4 - 1 =0; 37 | 38 | 39 | end 40 | -------------------------------------------------------------------------------- /benchs/optim/medium/ex6_2_14.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [1.e-7,0.5]; 6 | x3 in [1.e-7,0.5]; 7 | x4 in [1.e-7,0.5]; 8 | x5 in [1.e-7,0.5]; 9 | 10 | 11 | 12 | minimize x2*(ln(x2/(x2 + x4)) + ln(x2/(x2 + 0.095173*x4))) + x4*(ln(x4/ 13 | (x2 + x4)) + ln(x4/(0.30384*x2 + x4))) + (x2 + 2.6738*x4)*ln(x2 14 | + 2.6738*x4) + (0.374*x2 + x4)*ln(0.374*x2 + x4) + 2.6738*x4* 15 | ln(x4/(x2 + 2.6738*x4)) + 0.374*x2*ln(x2/(0.374*x2 + x4)) + x3* 16 | (ln(x3/(x3 + x5)) + ln(x3/(x3 + 0.095173*x5))) + x5*(ln(x5/(x3 17 | + x5)) + ln(x5/(0.30384*x3 + x5))) + (x3 + 2.6738*x5)*ln(x3 + 18 | 2.6738*x5) + (0.374*x3 + x5)*ln(0.374*x3 + x5) + 2.6738*x5*ln( 19 | x5/(x3 + 2.6738*x5)) + 0.374*x3*ln(x3/(0.374*x3 + x5)) - 3.6838* 20 | x2*ln(x2) - 1.59549*x4*ln(x4) - 3.6838*x3*ln(x3) - 1.59549*x5* 21 | ln(x5); 22 | 23 | constraints 24 | x2 + x3 - 0.5 =0; 25 | 26 | 27 | x4 + x5 - 0.5 =0; 28 | 29 | end 30 | -------------------------------------------------------------------------------- /benchs/optim/medium/ex7_3_5bis.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x1 in [-1.e8,1.e8]; 6 | x2 in [-1.e8,1.e8]; 7 | x3 in [ 0, 10]; 8 | x4 in [-1.e8,1.e8]; 9 | 10 | 11 | 12 | 13 | minimize x4; 14 | 15 | constraints 16 | 17 | 0.0001*x1^2*x2^2*x3^8 - ((0.125*x1^2*x2^2 + 1.68e-5*x1^2*x2 + 0.000539*x1*x2) +2.7e-7)*x3^6 + ((1.45*x1^2*x2 + 0.168*x1*x2)+0.000338)*x3^4 - (5.72*x1^2*x2 + 1.13*x1^2 + 0.425*x1)*x3^2 + 4.53*x1^2 =0; 18 | 19 | 20 | 21 | 22 | (0.005*x1^2*x2^2 + 1.08e-5*x1*x2)*x3^6 - ((1.56*x1^2*x2^2 + 0.00084*x1^2*x2 + 0.0135*x1*x2)+1.35e-5) *x3^4 + ((6.93*x1^2*x2 + 0.0911*x1)+ 0.00422)*x3^2 - (5.28*x1^2 + 0.364*x1) =0; 23 | 24 | 25 | 26 | - x1 - 0.145*x4 <= -0.175; 27 | 28 | x1 - 0.145*x4 <= 0.175; 29 | 30 | - x2 - 0.15*x4 <= -0.2; 31 | 32 | x2 - 0.15*x4 <= 0.2; 33 | 34 | 35 | 36 | 37 | 38 | 39 | end 40 | -------------------------------------------------------------------------------- /benchs/optim/medium/ex8_5_2_1.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | x2 in [1.e-10,1.e8]; 6 | x3 in [1.e-10,1.e8]; 7 | x4 in [1.e-10,1.e8]; 8 | x5 in [1.e-10,1.e8]; 9 | x6 in [-1.e8,1.e8]; 10 | x7 in [-1.e8,1.e8]; 11 | 12 | 13 | 14 | 15 | minimize x2*ln(x2) + x3*ln(x3) + x4*ln(x4) + x7/(x5 - x7) - ln(x5 - x7 16 | ) - 2*x6/x5 + 0.585616681390832*x2 + 3.53797016206289*x3 + 17 | 2.18345516206289*x4; 18 | 19 | constraints 20 | 21 | x5^3 - (1 + x7)*x5^2 + x6*x5 - x6*x7 =0; 22 | 23 | 24 | - (0.37943*x2*x2 + 0.75885*x2*x3 + 0.48991*x2*x4 + 0.75885*x3*x2 + 0.8836* 25 | x3*x3 + 0.23612*x3*x4 + 0.48991*x4*x2 + 0.23612*x4*x3 + 0.63263*x4*x4) + x6 =0; 26 | 27 | 28 | - 0.14998*x2 - 0.14998*x3 - 0.14998*x4 + x7 =0; 29 | 30 | 31 | x2 + x3 + x4 -1 =0; 32 | 33 | x5 -x7 >= 0; 34 | end 35 | -------------------------------------------------------------------------------- /benchs/optim/medium/haverly.bch: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | 4 | variables 5 | 6 | x1 in [ 0, 1.e8]; 7 | x2 in [ 0, 1.e8]; 8 | x3 in [ 0, 1.e8]; 9 | x4 in [ 0, 1.e8]; 10 | x5 in [ 0, 1.e8]; 11 | x6 in [ 0, 100]; 12 | x7 in [ 0, 200]; 13 | x8 in [ 0, 1.e8]; 14 | x9 in [ 0, 1.e8]; 15 | x10 in [ 0, 1.e8]; 16 | x11 in [ 0, 1.e8]; 17 | x12 in [ 0, 1.e8]; 18 | 19 | 20 | 21 | minimize x1 - x2; 22 | 23 | constraints 24 | 25 | x1 - 6*x3 - 16*x4 - 10*x5 =0; 26 | 27 | 28 | x2 - 9*x6 - 15*x7 =0; 29 | 30 | 31 | 32 | x6 - x8 - x10 =0; 33 | 34 | 35 | x7 - x9 - x11 =0; 36 | 37 | 38 | x3 + x4 - x10 - x11 =0; 39 | 40 | 41 | x5 - x8 - x9 =0; 42 | 43 | 44 | x12*(x10 + x11) - 3*x3 - x4 =0; 45 | 46 | 47 | x12*x10 - 2.5*x10 - 0.5*x8 <= 0; 48 | 49 | x12*x11 - 1.5*x11 + 0.5*x9 <= 0; 50 | 51 | end -------------------------------------------------------------------------------- /benchs/optim/medium/schwefel5-abs.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-500,500]; 4 | x2 in [-500,500]; 5 | x3 in [-500,500]; 6 | x4 in [-500,500]; 7 | x5 in [-500,500]; 8 | 9 | minimize 10 | 418.9829 * 5 - x1 * sin (sqrt (abs(x1))) - x2 * sin (sqrt(abs (x2))) 11 | - x3 * sin (sqrt(abs(x3))) - x4 * sin (sqrt(abs (x4))) - x5 * sin (sqrt(abs (x5))); 12 | 13 | constraints 14 | x1 <= 1000; 15 | x2 <= 1000; 16 | x3 <= 1000; 17 | x4 <= 1000; 18 | x5 <= 1000; 19 | 20 | end 21 | -------------------------------------------------------------------------------- /benchs/optim/medium/schwefel5.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-500,500]; 4 | x2 in [-500,500]; 5 | x3 in [-500,500]; 6 | x4 in [-500,500]; 7 | x5 in [-500,500]; 8 | 9 | minimize 10 | 418.9829 * 5 - x1 * sin (sqrt (sqrt (x1^2))) - x2 * sin (sqrt (sqrt (x2^2))) 11 | - x3 * sin (sqrt (sqrt (x3^2))) - x4 * sin (sqrt (sqrt (x4^2))) - x5 * sin (sqrt (sqrt (x5^2))); 12 | 13 | constraints 14 | x1 <= 1000; 15 | x2 <= 1000; 16 | x3 <= 1000; 17 | x4 <= 1000; 18 | x5 <= 1000; 19 | 20 | end 21 | -------------------------------------------------------------------------------- /benchs/optim/others/notes.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | Probably need to desactivate symbolic differentation: 4 | dualc1 5 | polygon25 6 | 7 | 8 | Very instable: 9 | ex14_1_6. May be solved in less than 1s or ... 10 | 11 | 12 | 13 | ex8_4_5-1.bch: 14 | raise an ibex::Exception with release 2.5 15 | 16 | test_infinity3: 17 | problem has unbounded objective and unbounded variable domain (which is not supposed to be really supported) 18 | release 2.5 terminates instantaneously or never depending on random seed (test with 1.0 and 2.0) 19 | -------------------------------------------------------------------------------- /benchs/optim/others/test_infinity3.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [-oo,+oo]; 4 | x2 in [-1.e8,1.e8]; 5 | 6 | 7 | 8 | minimize 12*x1^2 - 6.3*x1^4 + x1^6 - 6*x1*x2 + 6*x2^2; 9 | 10 | constraints 11 | x1 >= -1.e8; 12 | x2 >= -1.e8; 13 | end 14 | -------------------------------------------------------------------------------- /benchs/optim/others/test_infinity4.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [-oo,+oo]; 4 | x2 in [-1.e8,1.e8]; 5 | 6 | 7 | minimize - 6.3*x1^4 - 6*x1*x2 8 | - 2*x2^2; 9 | 10 | 11 | 12 | constraints 13 | x1 >= -1.e8; 14 | x2 >= -1.e8; 15 | end 16 | -------------------------------------------------------------------------------- /benchs/optim/unsolved/ex7_2_9.bch: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1 in [0.01, 15]; 4 | x2 in [ 0.01, 15]; 5 | x3 in [0.01, 15]; 6 | x4 in [ 0.01, 15]; 7 | x5 in [0.01, 15]; 8 | x6 in [ 0.01, 15]; 9 | x7 in [0.01, 15]; 10 | x8 in [ 0.01, 15]; 11 | x9 in [0.01, 15]; 12 | x10 in [ 0.01, 15]; 13 | 14 | minimize 15 | 0.4*x4^0.67 + 0.4*x9^0.67 + x6; 16 | 17 | constraints 18 | x3/x1/x2^1.5/x4/x5 + 5*x3*x5^1.2/x1/x2 <= 1; 19 | 20 | 0.05*x2 + 0.05*x3 <= 1; 21 | 22 | 10/x3 - x1/x3 <= 1; 23 | 24 | x8/x6/x7^1.5/x9/x10 + 5*x8*x10^1.2/x6/x7 <= 1; 25 | 26 | x7/x2 + x8/x2 <= 1; 27 | 28 | x1/x8 - x6/x8 <= 1; 29 | 30 | x10 <= 0.1; 31 | 32 | end 33 | -------------------------------------------------------------------------------- /benchs/optim/unsolved/ex8_1_3.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [-1.e2,1.e2]; 4 | x2 in [-1.e2,1.e2]; 5 | 6 | 7 | 8 | minimize (1 + (1 + x1 + x2)^2*(19 + 3*x1^2 - 14*x1 + 6*x1*x2 - 14*x2 + 3* 9 | x2^2))*(30 + (2*x1 - 3*x2)^2*(18 + 12*x1^2 - 32*x1 - 36*x1*x2 + 10 | 48*x2 + 27*x2^2)); 11 | 12 | constraints 13 | x1<= 100; 14 | x2 <= 100; 15 | 16 | end 17 | 18 | -------------------------------------------------------------------------------- /benchs/optim/unsolved/least.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x2 in [-1.e8,1.e8]; 4 | x3 in [-1.e8,1.e8]; 5 | x4 in [ -5, 5]; 6 | 7 | 8 | 9 | minimize (127 + (-x3*exp(-5*x4)) - x2)^2 + (151 + (-x3*exp(-3*x4)) - x2)^2 10 | + (379 + (-x3*exp(-x4)) - x2)^2 + (421 + (-x3*exp(5*x4)) - x2)^2 11 | + (460 + (-x3*exp(3*x4)) - x2)^2 + (426 + (-x3*exp(x4)) - x2)^2; 12 | 13 | -------------------------------------------------------------------------------- /benchs/scatter_plot.gnuplot: -------------------------------------------------------------------------------- 1 | set term pdf enhanced 2 | 3 | set output outputfile 4 | 5 | set title "Scatter plot between results from ".ref0." and results from ".ref1 6 | 7 | set border 3 8 | 9 | set size square 10 | 11 | set xtics nomirror 12 | set mxtics 2 13 | set xrange [0:time_limit] 14 | set xlabel ref0 15 | 16 | set ytics nomirror 17 | set mytics 2 18 | set yrange [0:time_limit] 19 | set ylabel ref1 20 | 21 | set style arrow 1 nohead lc rgb "gray" 22 | set arrow from graph 0, graph 0 to graph 1, graph 1 as 1 23 | 24 | plot datafile using 2:3 with points ps 0.5 lc rgb "red" notitle 25 | -------------------------------------------------------------------------------- /benchs/solver/non-polynom/AOL-legentil.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x in [1e-10,pi/2-1e-10]; 3 | y in [0,pi/2-1e-10]; 4 | z in [-1e8, 1e8]; 5 | 6 | Constraints 7 | 10/3*cos(x)/sin(x)^2+4*(1+tan(x)^2)/cos(y)+z*(-50/3*sin(y)*cos(x)/(sin(x)^2*(3.5-5*sin(y)))-10/3*cos(x)/sin(x)^2-4*(1+tan(x)^2)/cos(y))=0; 8 | 4*tan(x)*sin(y)/cos(y)^2+z*(50/3*cos(y)/(sin(x)*(3.5-5*sin(y)))+250/3*sin(y)*cos(y)/(sin(x)*(3.5-5*sin(y))^2)-4*tan(x)*sin(y)/cos(y)^2)=0; 9 | 50/3*sin(y)/(sin(x)*(3.5-5*sin(y)))+20+10/3/sin(x)-4*tan(x)/cos(y)=0; 10 | end 11 | -------------------------------------------------------------------------------- /benchs/solver/non-polynom/Kin1.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.078 2 | Variables 3 | 4 | t1 in [0,2*pi]; 5 | t2 in [0,2*pi]; 6 | t3 in [0,2*pi]; 7 | t4 in [0,2*pi]; 8 | t5 in [0,2*pi]; 9 | t6 in [0,2*pi]; 10 | 11 | Constraints 12 | //Original System 13 | -0.4077 + cos(t2)*cos(t6) + cos(t3)*cos(t6) + cos(t4)*cos(t6) + cos(t5)*sin(t2)*sin(t6) - cos(t5)*sin(t3)*sin(t6) - cos(t5)*sin(t4)*sin(t6) = 0; 14 | -1.9115 + cos(t5)*sin(t1) + cos(t1)*cos(t2)*sin(t5) + cos(t1)*cos(t3)*sin(t5) + cos(t1)*cos(t4)*sin(t5) = 0; 15 | -1.9791 + sin(t2)*sin(t5) + sin(t3)*sin(t5) + sin(t4)*sin(t5) = 0; 16 | -4.0616 + 3*cos(t1)*cos(t2) + 2*cos(t1)*cos(t3) + cos(t1)*cos(t4) = 0; 17 | -1.7172 + 3*cos(t2)*sin(t1) + 2*cos(t3)*sin(t1) + cos(t4)*sin(t1) = 0; 18 | -3.9701 + 3*sin(t2) + 2*sin(t3) + sin(t4) = 0; 19 | end 20 | -------------------------------------------------------------------------------- /benchs/solver/non-polynom/Num-analysis92191.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | a in [0,2*pi]; 4 | b in [-10,30]; 5 | 6 | constraints 7 | 0.7 * exp(-12*b)*cos(12*a)+ 0.3 * exp(-13*b)* cos(13*a)-32=0; 8 | 0.7 * exp(-12*b)*sin(12*a)+ 0.3 * exp(-13*b)* sin(13*a) =0; 9 | end 10 | -------------------------------------------------------------------------------- /benchs/solver/non-polynom/SjirkBoon.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.062 2 | Variables 3 | 4 | C1 in [-100,100]; 5 | C2 in [-100,100]; 6 | phi1 in [0,2*pi]; 7 | phi2 in [0,2*pi]; 8 | 9 | 10 | Constraints 11 | //Original System 12 | 5 + C1*cos(3*phi1) + C2*cos(3*phi2) = 0; 13 | -3 + C1*cos(phi1) + C2*cos(phi2) = 0; 14 | C1*sin(3*phi1) + C2*sin(3*phi2) = 0; 15 | -4 + C1*sin(phi1) + C2*sin(phi2) = 0; 16 | end 17 | -------------------------------------------------------------------------------- /benchs/solver/non-polynom/Trigexp2-3.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.109 2 | Variables 3 | 4 | x[3] in [-200,200]; 5 | 6 | Constraints 7 | //Original System 8 | -5 + sin(x(1) - x(2) - x(3))*sin(x(1) + x(2) - x(3)) + 2*x(2) + 3*(x(1) - x(3))^3 = 0; 9 | -3 + 4*x(2) - exp(x(1) - x(2) - x(3))*(x(1) - x(3)) = 0; 10 | 10 - 2*sin(x(1) - x(2) - x(3))*sin(x(1) + x(2) - x(3)) - 4*x(2) - 6*(x(1) - x(3))^3 = 0; 11 | 12 | end -------------------------------------------------------------------------------- /benchs/solver/non-polynom/Trigexp2-5.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | 3 | x[5] in [-200,200]; 4 | 5 | Constraints 6 | //Original System 7 | -5 + sin(x(1) - x(2) - x(3))*sin(x(1) + x(2) - x(3)) + 2*x(2) + 3*(x(1) - x(3))^3 = 0; 8 | -3 + 4*x(2) - exp(x(1) - x(2) - x(3))*(x(1) - x(3)) = 0; 9 | 5 - 2*sin(x(1) - x(2) - x(3))*sin(x(1) + x(2) - x(3)) + sin(x(3) - x(4) - x(5))*sin(x(3) + x(4) - x(5)) - 4*x(2) - 6*(x(1) - x(3))^3 - 2*x(4) + 3*(x(3) - x(5))^3 = 0; 10 | -3 + 4*x(4) - exp(x(3) - x(4) - x(5))*(x(3) - x(5)) = 0; 11 | 10 - 2*sin(x(3) - x(4) - x(5))*sin(x(3) + x(4) - x(5)) - 4*x(4) - 6*(x(3) - x(5))^3 = 0; 12 | end -------------------------------------------------------------------------------- /benchs/solver/non-polynom/Trigexp2-7.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.109 2 | Variables 3 | 4 | x[7] in [-200,200]; 5 | 6 | Constraints 7 | //Original System 8 | -5 + sin(x(1) - x(2) - x(3))*sin(x(1) + x(2) - x(3)) + 2*x(2) + 3*(x(1) - x(3))^3 = 0; 9 | -3 + 4*x(2) - exp(x(1) - x(2) - x(3))*(x(1) - x(3)) = 0; 10 | 5 - 2*sin(x(1) - x(2) - x(3))*sin(x(1) + x(2) - x(3)) + sin(x(3) - x(4) - x(5))*sin(x(3) + x(4) - x(5)) - 4*x(2) - 6*(x(1) - x(3))^3 - 2*x(4) + 3*(x(3) - x(5))^3 = 0; 11 | -3 + 4*x(4) - exp(x(3) - x(4) - x(5))*(x(3) - x(5)) = 0; 12 | 5 - 2*sin(x(3) - x(4) - x(5))*sin(x(3) + x(4) - x(5)) + sin(x(5) - x(6) - x(7))*sin(x(5) + x(6) - x(7)) - 4*x(4) - 6*(x(3) - x(5))^3 - 2*x(6) + 3*(x(5) - x(7))^3 = 0; 13 | -3 + 4*x(6) - exp(x(5) - x(6) - x(7))*(x(5) - x(7)) = 0; 14 | 10 - 2*sin(x(5) - x(6) - x(7))*sin(x(5) + x(6) - x(7)) - 4*x(6) - 6*(x(5) - x(7))^3 = 0; 15 | end 16 | -------------------------------------------------------------------------------- /benchs/solver/non-polynom/Trigo1-0005.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x[5] in [1.e-8,2*pi-1.e-8]; 3 | 4 | Constraints 5 | 6 - 2*cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) - sin(x(1)) = 0; 6 | 5 - cos(x(1)) + 2*(1 - cos(x(2))) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) - sin(x(2)) = 0; 7 | 5 - cos(x(1)) - cos(x(2)) + 3*(1 - cos(x(3))) - cos(x(3)) - cos(x(4)) - cos(x(5)) - sin(x(3)) = 0; 8 | 5 - cos(x(1)) - cos(x(2)) - cos(x(3)) + 4*(1 - cos(x(4))) - cos(x(4)) - cos(x(5)) - sin(x(4)) = 0; 9 | 5 - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) + 5*(1 - cos(x(5))) - cos(x(5)) - sin(x(5)) = 0; 10 | end 11 | -------------------------------------------------------------------------------- /benchs/solver/non-polynom/Trigo1-0005sp.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x[5] in [1.e-8,2*pi]; 3 | SE[1] in [-5,5]; 4 | 5 | Constraints 6 | 6 - cos(x(1)) + SE(1) - sin(x(1)) = 0; 7 | 5 + 2*(1 - cos(x(2))) + SE(1) - sin(x(2)) = 0; 8 | 5 + 3*(1 - cos(x(3))) + SE(1) - sin(x(3)) = 0; 9 | 5 + 4*(1 - cos(x(4))) + SE(1) - sin(x(4)) = 0; 10 | 5 + 5*(1 - cos(x(5))) + SE(1) - sin(x(5)) = 0; 11 | -cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) - SE(1) = 0; 12 | end 13 | -------------------------------------------------------------------------------- /benchs/solver/non-polynom/Trigo1-0006.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x[6] in [1.e-8,2*pi-1.e-8]; 3 | 4 | Constraints 5 | 7- 2*cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) - cos(x(6))- sin(x(1)) = 0; 6 | 6 - cos(x(1)) + 2*(1 - cos(x(2))) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) - cos(x(6))- sin(x(2)) = 0; 7 | 6 - cos(x(1)) - cos(x(2)) + 3*(1 - cos(x(3))) - cos(x(3)) - cos(x(4)) - cos(x(5)) - cos(x(6)) -sin(x(3)) = 0; 8 | 6 - cos(x(1)) - cos(x(2)) - cos(x(3)) + 4*(1 - cos(x(4))) - cos(x(4)) - cos(x(5)) - cos(x(6)) - sin(x(4)) = 0; 9 | 6 - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) + 5*(1 - cos(x(5))) - cos(x(5)) - cos(x(6))- sin(x(5)) = 0; 10 | 6 - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) + 6* (1- cos(x(6))) - cos(x(6))- sin(x(6)) = 0; 11 | end 12 | -------------------------------------------------------------------------------- /benchs/solver/non-polynom/Trigo1-0010sp.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x[10] in [1.e-8,2*pi-1.e-8]; 3 | SE[1] in [-10,10]; 4 | Constraints 5 | 6 | 11 - cos(x(1)) + SE(1) - sin(x(1)) = 0; 7 | 10 + 2*(1 - cos(x(2))) + SE(1) - sin(x(2)) = 0; 8 | 10 + 3*(1 - cos(x(3))) + SE(1) - sin(x(3)) = 0; 9 | 10 + 4*(1 - cos(x(4))) + SE(1) - sin(x(4)) = 0; 10 | 10 + 5*(1 - cos(x(5))) + SE(1) - sin(x(5)) = 0; 11 | 10 + 6*(1 - cos(x(6))) + SE(1) - sin(x(6)) = 0; 12 | 10 + 7*(1 - cos(x(7))) + SE(1) - sin(x(7)) = 0; 13 | 10 + 8*(1 - cos(x(8))) + SE(1) - sin(x(8)) = 0; 14 | 10 + 9*(1 - cos(x(9))) + SE(1) - sin(x(9)) = 0; 15 | 10 + 10*(1 - cos(x(10))) + SE(1) - sin(x(10)) = 0; 16 | -cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) - cos(x(6)) - cos(x(7)) - cos(x(8)) - cos(x(9)) - cos(x(10)) - SE(1) = 0; 17 | end 18 | -------------------------------------------------------------------------------- /benchs/solver/non-polynom/Trigonometric-05.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x[5] in [0,2*pi-1.e-3]; 3 | 4 | Constraints 5 | 5- (1+cos(x(1))) - sin(x(1)) - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) = 0; 6 | 5- (1+cos(x(2))) - sin(x(2)) - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) = 0; 7 | 5- (1+cos(x(3))) - sin(x(3)) - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) = 0; 8 | 5- (1+cos(x(4))) - sin(x(4)) - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) = 0; 9 | 5- (1+cos(x(5))) - sin(x(5)) - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) = 0; 10 | 11 | end 12 | -------------------------------------------------------------------------------- /benchs/solver/non-polynom/Troesch10.bch: -------------------------------------------------------------------------------- 1 | constants 2 | r=10; 3 | h=1./11; 4 | 5 | variables 6 | x[10]in [-10,10 ]; 7 | 8 | constraints 9 | 10 | 2*x(1) + r*h^2* sinh (r*x(1)) - x(2) =0; 11 | 2*x(10) + r*h^2* sinh(r*x(10)) - x(9) -1 =0; 12 | 13 | 2*x(2) + r*h^2* sinh(r*x(2)) - x(1)-x(3) =0; 14 | 2*x(3) + r*h^2* sinh(r*x(3)) - x(2)-x(4) =0; 15 | 2*x(4) + r*h^2* sinh(r*x(4)) - x(3)-x(5) =0; 16 | 2*x(5) + r*h^2* sinh(r*x(5)) - x(4)-x(6) =0; 17 | 2*x(6) + r*h^2* sinh(r*x(6)) - x(5)-x(7) =0; 18 | 2*x(7) + r*h^2* sinh(r*x(7)) - x(6)-x(8) =0; 19 | 2*x(8) + r*h^2* sinh(r*x(8)) - x(7)-x(9) =0; 20 | 2*x(9) + r*h^2* sinh(r*x(9)) - x(8)-x(10) =0; 21 | 22 | end -------------------------------------------------------------------------------- /benchs/solver/non-polynom/trigonometric-05.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x[5] in [0,2*pi-1.e-3]; 3 | 4 | Constraints 5 | 5- (1+cos(x(1))) - sin(x(1)) - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) = 0; 6 | 5- (1+cos(x(2))) - sin(x(2)) - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) = 0; 7 | 5- (1+cos(x(3))) - sin(x(3)) - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) = 0; 8 | 5- (1+cos(x(4))) - sin(x(4)) - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) = 0; 9 | 5- (1+cos(x(5))) - sin(x(5)) - cos(x(1)) - cos(x(2)) - cos(x(3)) - cos(x(4)) - cos(x(5)) = 0; 10 | 11 | end 12 | -------------------------------------------------------------------------------- /benchs/solver/non-polynom/troesch10-sh.bch: -------------------------------------------------------------------------------- 1 | constants 2 | r=10; 3 | h=1./11; 4 | 5 | variables 6 | x[10]in [-10,10 ]; 7 | 8 | constraints 9 | 10 | 2*x(1) + r*h^2* sinh (r*x(1)) - x(2) =0; 11 | 2*x(10) + r*h^2* sinh(r*x(10)) - x(9) -1 =0; 12 | 13 | 2*x(2) + r*h^2* sinh(r*x(2)) - x(1)-x(3) =0; 14 | 2*x(3) + r*h^2* sinh(r*x(3)) - x(2)-x(4) =0; 15 | 2*x(4) + r*h^2* sinh(r*x(4)) - x(3)-x(5) =0; 16 | 2*x(5) + r*h^2* sinh(r*x(5)) - x(4)-x(6) =0; 17 | 2*x(6) + r*h^2* sinh(r*x(6)) - x(5)-x(7) =0; 18 | 2*x(7) + r*h^2* sinh(r*x(7)) - x(6)-x(8) =0; 19 | 2*x(8) + r*h^2* sinh(r*x(8)) - x(7)-x(9) =0; 20 | 2*x(9) + r*h^2* sinh(r*x(9)) - x(8)-x(10) =0; 21 | 22 | end -------------------------------------------------------------------------------- /benchs/solver/others/cyclohexan3D.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x; 3 | y in [-1e08,1e08]; 4 | z in [-1e08,1e08]; 5 | 6 | constraints 7 | y^2 * (1 + z^2) + z * (z - 24 * y) = -13; 8 | x^2 * (1 + y^2) + y * (y - 24 * x) = -13; 9 | z^2 * (1 + x^2) + x * (x - 24 * z) = -13; 10 | end 11 | -------------------------------------------------------------------------------- /benchs/solver/others/exnewton.bch: -------------------------------------------------------------------------------- 1 | variables 2 | 3 | x1 in [0.5,1.35]; 4 | x2 in [0,2.33]; 5 | 6 | constraints 7 | 8 | x2 <= x1^2 + 0.5 ; 9 | 10 | x2 >= 2.5 * sin(4*x1 + 1) + 2; 11 | 12 | x2 >= sqrt(x1-0.5); 13 | 14 | end -------------------------------------------------------------------------------- /benchs/solver/others/henon19.qpr: -------------------------------------------------------------------------------- 1 | // submitted by Alexandre Goldsztejn 2 | // number of solutions = 366 3 | // should be solved in less than a minute 4 | 5 | Constants 6 | n = 19; 7 | a = 1.4; 8 | b = 0.3; 9 | 10 | Variables 11 | x[n] in [-2,2], 12 | y[n] in [-0.5, 0.5]; 13 | 14 | Constraints 15 | 16 | /* steps 0 --> 1 --> ... --> n-1 */ 17 | for i=2:n; 18 | x(i) = y(i-1)+1 - a*x(i-1)^2; 19 | y(i) = b*x(i-1); 20 | end; 21 | 22 | /* loop back n-1 --> 0 */ 23 | x(1) = y(n) + 1 - a*x(n)^2; 24 | y(1) = b*x(n); 25 | 26 | /* symmetry breaking */ 27 | for i=2:n; 28 | x(1) <= x(i); // select initial point uniquely 29 | end; 30 | 31 | end 32 | -------------------------------------------------------------------------------- /benchs/solver/others/henon23.qpr: -------------------------------------------------------------------------------- 1 | // submitted by Alexandre Goldsztejn 2 | // number of solutions = 1932 3 | // should be solved within a couple of minutes 4 | 5 | Constants 6 | n = 23; 7 | a = 1.4; 8 | b = 0.3; 9 | 10 | Variables 11 | x[n] in [-2,2], 12 | y[n] in [-0.5, 0.5]; 13 | 14 | Constraints 15 | 16 | /* steps 0 --> 1 --> ... --> n-1 */ 17 | for i=2:n; 18 | x(i) = y(i-1)+1 - a*x(i-1)^2; 19 | y(i) = b*x(i-1); 20 | end; 21 | 22 | /* loop back n-1 --> 0 */ 23 | x(1) = y(n) + 1 - a*x(n)^2; 24 | y(1) = b*x(n); 25 | 26 | /* symmetry breaking */ 27 | for i=2:n; 28 | x(1) <= x(i); // select initial point uniquely 29 | end; 30 | 31 | end 32 | -------------------------------------------------------------------------------- /benchs/solver/others/kolev36.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x1 in [0.0333, 0.2173]; 3 | x2 in [0.4,0.6]; 4 | x3 in [0.786,0.9666]; 5 | x4 in [-3071,-0.1071]; 6 | x5 in [1.1071,1.3071]; 7 | x6 in [-2.1, -1.9]; 8 | 9 | Constraints 10 | 11 | ((4*x3+3*x6)*x3 + 2*x5)*x3 + x4 = 0; 12 | ((4*x2+3*x6)*x2 + 2*x5)*x2 + x4 = 0; 13 | ((4*x1+3*x6)*x1 + 2*x5)*x1 + x4 = 0; 14 | x4+x5+x6+1=0; 15 | (((x2+x6)*x2+x5)*x2+x4)*x2 + (((x3+x6)*x3+x5)*x3+x4)*x3=0; 16 | (((x1+x6)*x1+x5)*x1+x4)*x1 + (((x2+x6)*x2+x5)*x2+x4)*x2=0; 17 | 18 | end 19 | -------------------------------------------------------------------------------- /benchs/solver/polynom/Bellido.bch: -------------------------------------------------------------------------------- 1 | //Generated by Mathematica 2 | Variables 3 | 4 | z1 in [-100000000,100000000]; 5 | z2 in [-100000000,100000000]; 6 | z3 in [-100000000,100000000]; 7 | z4 in [-100000000,100000000]; 8 | z5 in [-100000000,100000000]; 9 | z6 in [-100000000,100000000]; 10 | z7 in [-100000000,100000000]; 11 | z8 in [-100000000,100000000]; 12 | z9 in [-100000000,100000000]; 13 | 14 | Constraints 15 | //Original System 16 | -104 + (-6 + z1)^2 + z2^2 + z3^2 = 0; 17 | -104 + z4^2 + (-6 + z5)^2 + z6^2 = 0; 18 | -80 + z7^2 + (-12 + z8)^2 + (-6 + z9)^2 = 0; 19 | -52 + z1*(-6 + z4) + (-6 + z2)*z5 + z3*z6 = 0; 20 | 64 + z1*(-6 + z7) + (-12 + z2)*z8 + (-6 + z3)*z9 = 0; 21 | 32 - 6*z5 + z4*z7 + (-12 + z5)*z8 + (-6 + z6)*z9 = 0; 22 | 18 + 2*z2 + 2*z3 - z4 - z5 - 2*z6 - z7 - z9 = 0; 23 | -38 + z1 + z2 + 2*z3 + 2*z4 + 2*z6 - 2*z7 + z8 - z9 = 0; 24 | 8 + z1 + z3 - 2*z4 + z5 - z6 + 2*z7 - 2*z8 = 0; 25 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Biggs-exp6.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[6] in [-20,20]; 3 | 4 | constraints 5 | 6 | 7 | x(3)*exp(-0.1*x(1)) - x(4) * exp(-0.1*x(2)) + x(6)* exp(-0.1*x(5)) - exp(-0.1) +5* exp(-1) - 3 *exp(-0.4) = 0; 8 | x(3)*exp(-0.2*x(1)) - x(4) * exp(-0.2*x(2)) + x(6)* exp(-0.2*x(5)) - exp(-0.2) +5 *exp(-2) - 3 *exp(-0.8) = 0; 9 | x(3)*exp(-0.3*x(1)) - x(4) * exp(-0.3*x(2)) + x(6)* exp(-0.3*x(5)) - exp(-0.3) +5 *exp(-3) - 3 *exp(-1.2) = 0; 10 | x(3)*exp(-0.4*x(1)) - x(4) * exp(-0.4*x(2)) + x(6)* exp(-0.4*x(5)) - exp(-0.4) +5 *exp(-4) - 3 *exp(-1.6) = 0; 11 | x(3)*exp(-0.5*x(1)) - x(4) * exp(-0.5*x(2)) + x(6)* exp(-0.5*x(5)) - exp(-0.5) +5 *exp(-5) - 3 *exp(-2.0) = 0; 12 | x(3)*exp(-0.6*x(1)) - x(4) * exp(-0.6*x(2)) + x(6)* exp(-0.6*x(5)) - exp(-0.6) +5 *exp(-6) - 3 *exp(-2.4) = 0; 13 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Brent-10.bch: -------------------------------------------------------------------------------- 1 | 2 | Variables 3 | x[10] in [-1e8,1e8]; 4 | 5 | Constraints 6 | 3*x(1)*(x(2)-2*x(1))+x(2)^2/4=0; 7 | 3*x(2)*(x(3)-2*x(2)+x(1))+(x(3)-x(1))^2/4=0; 8 | 3*x(3)*(x(4)-2*x(3)+x(2))+(x(4)-x(2))^2/4=0; 9 | 3*x(4)*(x(5)-2*x(4)+x(3))+(x(5)-x(3))^2/4=0; 10 | 3*x(5)*(x(6)-2*x(5)+x(4))+(x(6)-x(4))^2/4=0; 11 | 3*x(6)*(x(7)-2*x(6)+x(5))+(x(7)-x(5))^2/4=0; 12 | 3*x(7)*(x(8)-2*x(7)+x(6))+(x(8)-x(6))^2/4=0; 13 | 3*x(8)*(x(9)-2*x(8)+x(7))+(x(9)-x(7))^2/4=0; 14 | 3*x(9)*(x(10)-2*x(9)+x(8))+(x(10)-x(8))^2/4=0; 15 | 3*x(10)*(20-2*x(10)+x(9))+(20-x(9))^2/4=0; 16 | end 17 | 18 | -------------------------------------------------------------------------------- /benchs/solver/polynom/Brent-8.bch: -------------------------------------------------------------------------------- 1 | 2 | Variables 3 | x[8] in [-1e8,1e8]; 4 | 5 | Constraints 6 | 3*x(1)*(x(2)-2*x(1))+x(2)^2/4=0; 7 | 3*x(2)*(x(3)-2*x(2)+x(1))+(x(3)-x(1))^2/4=0; 8 | 3*x(3)*(x(4)-2*x(3)+x(2))+(x(4)-x(2))^2/4=0; 9 | 3*x(4)*(x(5)-2*x(4)+x(3))+(x(5)-x(3))^2/4=0; 10 | 3*x(5)*(x(6)-2*x(5)+x(4))+(x(6)-x(4))^2/4=0; 11 | 3*x(6)*(x(7)-2*x(6)+x(5))+(x(7)-x(5))^2/4=0; 12 | 3*x(7)*(x(8)-2*x(7)+x(6))+(x(8)-x(6))^2/4=0; 13 | 3*x(8)*(20-2*x(8)+x(7))+(20-x(7))^2/4=0; 14 | end 15 | 16 | -------------------------------------------------------------------------------- /benchs/solver/polynom/Brown-05.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.032 2 | Variables 3 | 4 | x[5] in [-1e8,1e8]; 5 | 6 | Constraints 7 | //Original System 8 | -6 + 2*x(1) + x(2) + x(3) + x(4) + x(5) = 0; 9 | -6 + x(1) + 2*x(2) + x(3) + x(4) + x(5) = 0; 10 | -6 + x(1) + x(2) + 2*x(3) + x(4) + x(5) = 0; 11 | -6 + x(1) + x(2) + x(3) + 2*x(4) + x(5) = 0; 12 | -1 + x(1)*x(2)*x(3)*x(4)*x(5) = 0; 13 | end 14 | 15 | 16 | -------------------------------------------------------------------------------- /benchs/solver/polynom/Brown-06.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.032 2 | Variables 3 | 4 | x[6] in [-1e8,1e8]; 5 | 6 | Constraints 7 | //Original System 8 | -7 + 2*x(1) + x(2) + x(3) + x(4) + x(5) + x(6)= 0; 9 | -7 + x(1) + 2*x(2) + x(3) + x(4) + x(5) +x(6) = 0; 10 | -7 + x(1) + x(2) + 2*x(3) + x(4) + x(5) +x(6)= 0; 11 | -7 + x(1) + x(2) + x(3) + 2*x(4) + x(5) +x(6) = 0; 12 | -7 + x(1) + x(2) + x(3) + x(4) +2*x(5) +x(6) = 0; 13 | -1 + x(1)*x(2)*x(3)*x(4)*x(5)*x(6) = 0; 14 | end 15 | 16 | 17 | -------------------------------------------------------------------------------- /benchs/solver/polynom/Brown-07.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.032 2 | Variables 3 | 4 | x[7] in [-1e8,1e8]; 5 | 6 | Constraints 7 | //Original System 8 | -8 + 2*x(1) + x(2) + x(3) + x(4) + x(5) + x(6) + x(7) = 0; 9 | -8 + x(1) + 2*x(2) + x(3) + x(4) + x(5) + x(6) + x(7) = 0; 10 | -8 + x(1) + x(2) + 2*x(3) + x(4) + x(5) + x(6) + x(7) = 0; 11 | -8 + x(1) + x(2) + x(3) + 2*x(4) + x(5) + x(6) + x(7) = 0; 12 | -8 + x(1) + x(2) + x(3) + x(4) + 2*x(5) + x(6) + x(7) = 0; 13 | -8 + x(1) + x(2) + x(3) + x(4) + x(5) + 2*x(6) + x(7) = 0; 14 | -1 + x(1)*x(2)*x(3)*x(4)*x(5)*x(6)*x(7) = 0; 15 | end 16 | 17 | 18 | -------------------------------------------------------------------------------- /benchs/solver/polynom/Brown-07sp.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.032 2 | Variables 3 | 4 | x[7] in [-1e8,1e8]; 5 | 6 | SE[1] in [-1e10,1e10]; 7 | 8 | Constraints 9 | //Original System 10 | -8 + x(1) + SE(1) = 0; 11 | -8 + x(2) + SE(1) = 0; 12 | -8 + x(3) + SE(1) = 0; 13 | -8 + x(4) + SE(1) = 0; 14 | -8 + x(5) + SE(1) = 0; 15 | -8 + x(6) + SE(1) = 0; 16 | -1 + x(1)*x(2)*x(3)*x(4)*x(5)*x(6)*x(7) = 0; 17 | SE(1)= x(1) + x(2) + x(3) + x(4) + x(5) + x(6) + x(7); 18 | end 19 | 20 | 21 | -------------------------------------------------------------------------------- /benchs/solver/polynom/Brown-10sp.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.032 2 | Variables 3 | 4 | x[10] in [-1e8,1e8]; 5 | 6 | SE[1] in [-1e10,1e10]; 7 | 8 | Constraints 9 | //Original System 10 | -11 + x(1) + SE(1) = 0; 11 | -11 + x(2) + SE(1) = 0; 12 | -11 + x(3) + SE(1) = 0; 13 | -11 + x(4) + SE(1) = 0; 14 | -11 + x(5) + SE(1) = 0; 15 | -11 + x(6) + SE(1) = 0; 16 | -11 + x(7) + SE(1) = 0; 17 | -11 + x(8) + SE(1) = 0; 18 | -11 + x(9) + SE(1) = 0; 19 | -1 + x(1)*x(2)*x(3)*x(4)*x(5)*x(6)*x(7)*x(8)*x(9)*x(10) = 0; 20 | SE(1)= x(1) + x(2) + x(3) + x(4) + x(5) + x(6) + x(7) + x(8) + x(9) + x(10); 21 | end 22 | 23 | 24 | -------------------------------------------------------------------------------- /benchs/solver/polynom/BroydenTri-0010.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x[10] in [-100,100]; 3 | 4 | Constraints 5 | 1 + (3 - 2*x(1))*x(1) - 2*x(2) = 0; 6 | 1 - x(1) + (3 - 2*x(2))*x(2) - 2*x(3) = 0; 7 | 1 - x(2) + (3 - 2*x(3))*x(3) - 2*x(4) = 0; 8 | 1 - x(3) + (3 - 2*x(4))*x(4) - 2*x(5) = 0; 9 | 1 - x(4) + (3 - 2*x(5))*x(5) - 2*x(6) = 0; 10 | 1 - x(5) + (3 - 2*x(6))*x(6) - 2*x(7) = 0; 11 | 1 - x(6) + (3 - 2*x(7))*x(7) - 2*x(8) = 0; 12 | 1 - x(7) + (3 - 2*x(8))*x(8) - 2*x(9) = 0; 13 | 1 - x(8) + (3 - 2*x(9))*x(9) - 2*x(10) = 0; 14 | 1 - x(9) + (3 - 2*x(10))*x(10) = 0; 15 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Butcher8-a.bch: -------------------------------------------------------------------------------- 1 | Constants 2 | f1 in 0; 3 | f2 in 0; 4 | f3 in 0; 5 | f4 in 0; 6 | f5 in 0; 7 | f6 in 0; 8 | f7 in 0; 9 | f8 in 0; 10 | 11 | Variables 12 | //-3 3 13 | a in [-50,-1.1]; 14 | b in [-50,50]; 15 | b1 in [-50,50]; 16 | b2 in [-50,50]; 17 | b3 in [-50,50]; 18 | c2 in [-50,50]; 19 | c3 in [-50,50]; 20 | a32 in [-50,50]; 21 | 22 | Constraints 23 | b1 + b2 + b3 - (a+b)=f1; 24 | b2*c2 + b3*c3 - (1/2 + 1/2*b + b^2 - a*b)=f2; 25 | b2*c2^2 + b3*c3^2 - (a*(1/3+b^2) - 4/3*b - b^2 - b^3)=f3; 26 | b3*a32*c2 - (a*(1/6 + 1/2*b + b^2) - 2/3*b - b^2 - b^3)=f4; 27 | b2*c2*83 + b3*c3^3 - (1/4 + 1/4*b + 5/2*b^2 + 3/2*b^3 + b^4 - a*(b+b^3))=f5; 28 | b3*c3*a32*c2 - (1/8 + 3/8*b + 7/4*b^2 + 3/2*b^3 + b^4 - a*(1/2*b + 1/2*b^2 + b^3))=f6; 29 | b3*a32*c2^2 - (1/12 + 1/12*b + 7/6*b^2 + 3/2*b^3 + b^4- a*(2/3*b + b^2 + b^3))=f7; 30 | 1/24 + 7/24*b + 13/12*b^2 + 3/2*b^3 + b^4 - a*(1/3*b + b^2 + b^3)=f8; 31 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Butcher8-b.bch: -------------------------------------------------------------------------------- 1 | Constants 2 | f1 in 0; 3 | f2 in 0; 4 | f3 in 0; 5 | f4 in 0; 6 | f5 in 0; 7 | f6 in 0; 8 | f7 in 0; 9 | f8 in 0; 10 | 11 | Variables 12 | //-3 3 13 | a in [-0.9,50]; 14 | b in [-50,50]; 15 | b1 in [-50,50]; 16 | b2 in [-50,50]; 17 | b3 in [-50,50]; 18 | c2 in [-50,50]; 19 | c3 in [-50,50]; 20 | a32 in [-50,50]; 21 | 22 | Constraints 23 | b1 + b2 + b3 - (a+b)=f1; 24 | b2*c2 + b3*c3 - (1/2 + 1/2*b + b^2 - a*b)=f2; 25 | b2*c2^2 + b3*c3^2 - (a*(1/3+b^2) - 4/3*b - b^2 - b^3)=f3; 26 | b3*a32*c2 - (a*(1/6 + 1/2*b + b^2) - 2/3*b - b^2 - b^3)=f4; 27 | b2*c2*83 + b3*c3^3 - (1/4 + 1/4*b + 5/2*b^2 + 3/2*b^3 + b^4 - a*(b+b^3))=f5; 28 | b3*c3*a32*c2 - (1/8 + 3/8*b + 7/4*b^2 + 3/2*b^3 + b^4 - a*(1/2*b + 1/2*b^2 + b^3))=f6; 29 | b3*a32*c2^2 - (1/12 + 1/12*b + 7/6*b^2 + 3/2*b^3 + b^4- a*(2/3*b + b^2 + b^3))=f7; 30 | 1/24 + 7/24*b + 13/12*b^2 + 3/2*b^3 + b^4 - a*(1/3*b + b^2 + b^3)=f8; 31 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Caprasse.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.187 2 | Variables 3 | 4 | x in [-10,10]; 5 | y in [-10,10]; 6 | z in [-10,10]; 7 | t in [-10,10]; 8 | 9 | Constraints 10 | //Original System 11 | -2*x + 2*t*x*y - z + y^2*z = 0; 12 | 2 + 4*x^2 - 10*t*y + 4*t*x^2*y - 10*y^2 + 2*t*y^3 + 4*x*z - x^3*z + 4*x*y^2*z = 0; 13 | -x + t^2*x - 2*z + 2*t*y*z = 0; 14 | 2 - 10*t^2 - 10*t*y + 2*t^3*y + 4*x*z + 4*t^2*x*z + 4*z^2 + 4*t*y*z^2 - x*z^3 = 0; 15 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/CountercurrentReactors2-10.bch: -------------------------------------------------------------------------------- 1 | // Countercurrent Reactors (n=10) -- GENERATED -- 2 | 3 | Constants 4 | a in 0.414214; 5 | 6 | Variables 7 | x[10] in [-1e8, 1e8]; 8 | 9 | Constraints 10 | x(1)-(1-x(1))*x(3)-a*(1+4*x(2))=0; 11 | -(1-x(1))*x(4)-a*(1+4*x(2))=0; 12 | a*x(1)-(1-x(1))*x(5)-x(3)*(1+4*x(2))=0; 13 | x(1)*x(2)+(1-x(1))*x(6)-x(4)*(1+4*x(3))=0; 14 | x(1)*x(3)+(1-x(1))*x(7)-x(5)*(1+4*x(4))=0; 15 | x(1)*x(4)+(1-x(1))*x(8)-x(6)*(1+4*x(5))=0; 16 | x(1)*x(5)+(1-x(1))*x(9)-x(7)*(1+4*x(6))=0; 17 | x(1)*x(6)+(1-x(1))*x(10)-x(8)*(1+4*x(7))=0; 18 | x(1)*x(7)+x(9)*(1+4*x(8))=0; 19 | x(1)*x(8)-(1-x(1))-x(10)*(1+4*x(9))=0; 20 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/CountercurrentReactors2-12.bch: -------------------------------------------------------------------------------- 1 | // Countercurrent Reactors (n=10) -- GENERATED -- 2 | 3 | Constants 4 | a in 0.414214; 5 | 6 | Variables 7 | x[12] in [-1e8, 1e8]; 8 | 9 | Constraints 10 | x(1)-(1-x(1))*x(3)-a*(1+4*x(2))=0; 11 | -(1-x(1))*x(4)-a*(1+4*x(2))=0; 12 | a*x(1)-(1-x(1))*x(5)-x(3)*(1+4*x(2))=0; 13 | x(1)*x(2)+(1-x(1))*x(6)-x(4)*(1+4*x(3))=0; 14 | x(1)*x(3)+(1-x(1))*x(7)-x(5)*(1+4*x(4))=0; 15 | x(1)*x(4)+(1-x(1))*x(8)-x(6)*(1+4*x(5))=0; 16 | x(1)*x(5)+(1-x(1))*x(9)-x(7)*(1+4*x(6))=0; 17 | x(1)*x(6)+(1-x(1))*x(10)-x(8)*(1+4*x(7))=0; 18 | x(1)*x(7)+(1-x(1))*x(11)-x(9)*(1+4*x(8))=0; 19 | x(1)*x(8)+(1-x(1))*x(12)-x(10)*(1+4*x(9))=0; 20 | 21 | x(1)*x(9)+x(11)*(1+4*x(10))=0; 22 | x(1)*x(10)-(1-x(1))-x(12)*(1+4*x(11))=0; 23 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/CountercurrentReactors2-14.bch: -------------------------------------------------------------------------------- 1 | // Countercurrent Reactors (n=10) -- GENERATED -- 2 | 3 | Constants 4 | a in 0.414214; 5 | 6 | Variables 7 | x[14] in [-1e8, 1e8]; 8 | 9 | Constraints 10 | x(1)-(1-x(1))*x(3)-a*(1+4*x(2))=0; 11 | -(1-x(1))*x(4)-a*(1+4*x(2))=0; 12 | a*x(1)-(1-x(1))*x(5)-x(3)*(1+4*x(2))=0; 13 | x(1)*x(2)+(1-x(1))*x(6)-x(4)*(1+4*x(3))=0; 14 | x(1)*x(3)+(1-x(1))*x(7)-x(5)*(1+4*x(4))=0; 15 | x(1)*x(4)+(1-x(1))*x(8)-x(6)*(1+4*x(5))=0; 16 | x(1)*x(5)+(1-x(1))*x(9)-x(7)*(1+4*x(6))=0; 17 | x(1)*x(6)+(1-x(1))*x(10)-x(8)*(1+4*x(7))=0; 18 | x(1)*x(7)+(1-x(1))*x(11)-x(9)*(1+4*x(8))=0; 19 | x(1)*x(8)+(1-x(1))*x(12)-x(10)*(1+4*x(9))=0; 20 | x(1)*x(9)+(1-x(1))*x(12)-x(11)*(1+4*x(10))=0; 21 | x(1)*x(10)+(1-x(1))*x(13)-x(12)*(1+4*x(11))=0; 22 | 23 | x(1)*x(11)+x(13)*(1+4*x(12))=0; 24 | x(1)*x(12)-(1-x(1))-x(14)*(1+4*x(13))=0; 25 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/CountercurrentReactors2-6.bch: -------------------------------------------------------------------------------- 1 | // Countercurrent Reactors (n=20) -- GENERATED -- 2 | 3 | Constants 4 | a in 0.414214; 5 | 6 | Variables 7 | x[6] in [-1e8, 1e8]; 8 | 9 | Constraints 10 | x(1)-(1-x(1))*x(3)-a*(1+4*x(2))=0; 11 | -(1-x(1))*x(4)-a*(1+4*x(2))=0; 12 | a*x(1)-(1-x(1))*x(5)-x(3)*(1+4*x(2))=0; 13 | x(1)*x(2)+(1-x(1))*x(6) - x(4)* (1+4*x(3))=0; 14 | x(1)*x(3) + x(5)*(1+4*x(4))=0; 15 | x(1)*x(4)-(1-x(1))-x(6)*(1+4*x(5))=0; 16 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/CountercurrentReactors2-8.bch: -------------------------------------------------------------------------------- 1 | // Countercurrent Reactors (n=8) -- GENERATED -- 2 | 3 | Constants 4 | a in 0.414214; 5 | 6 | Variables 7 | x[8] in [-1e8, 1e8]; 8 | 9 | Constraints 10 | x(1)-(1-x(1))*x(3)-a*(1+4*x(2))=0; 11 | -(1-x(1))*x(4)-a*(1+4*x(2))=0; 12 | a*x(1)-(1-x(1))*x(5)-x(3)*(1+4*x(2))=0; 13 | x(1)*x(2)+(1-x(1))*x(6)-x(4)*(1+4*x(3))=0; 14 | x(1)*x(3)+(1-x(1))*x(7)-x(5)*(1+4*x(4))=0; 15 | x(1)*x(4)+(1-x(1))*x(8)-x(6)*(1+4*x(5))=0; 16 | x(1)*x(5)+x(7)*(1+4*x(6))=0; 17 | x(1)*x(6)-(1-x(1))-x(8)*(1+4*x(7))=0; 18 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/CountercurrentReactors2-9.bch: -------------------------------------------------------------------------------- 1 | // Countercurrent Reactors (n=9) 2 | 3 | Constants 4 | a in 0.414214; 5 | 6 | Variables 7 | x[9] in [-1e8, 1e8]; 8 | 9 | Constraints 10 | x(1)-(1-x(1))*x(3)-a*(1+4*x(2))=0; 11 | -(1-x(1))*x(4)-a*(1+4*x(2))=0; 12 | a*x(1)-(1-x(1))*x(5)-x(3)*(1+4*x(2))=0; 13 | x(1)*x(2)+(1-x(1))*x(6)-x(4)*(1+4*x(3))=0; 14 | x(1)*x(3)+(1-x(1))*x(7)-x(5)*(1+4*x(4))=0; 15 | x(1)*x(4)+(1-x(1))*x(8)-x(6)*(1+4*x(5))=0; 16 | x(1)*x(5)+(1-x(1))*x(9)-x(7)*(1+4*x(6))=0; 17 | x(1)*x(6)+x(8)*(1+4*x(7))=0; 18 | x(1)*x(7)-(1-x(1))-x(9)*(1+4*x(8))=0; 19 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Dipole2.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.078 2 | Variables 3 | 4 | a in [-1000,1000]; 5 | b in [-1000,1000]; 6 | c in [-1000,1000]; 7 | d in [-1000,1000]; 8 | u in [-1000,1000]; 9 | v in [-1000,1000]; 10 | t in [-1000,1000]; 11 | w in [-1000,1000]; 12 | 13 | 14 | Constraints 15 | //Original System 16 | -0.63254 + a + b = 0; 17 | 1.34534 + c + d = 0; 18 | 0.8365348 + a*t + b*u - c*v - d*w = 0; 19 | -1.7345334 + c*t + d*u + a*v + b*w = 0; 20 | -1.352352 + a*t^2 + b*u^2 - 2*c*t*v - a*v^2 - 2*d*u*w - b*w^2 = 0; 21 | 0.843453 + c*t^2 + d*u^2 + 2*a*t*v - c*v^2 + 2*b*u*w - d*w^2 = 0; 22 | 0.9563453 + a*t^3 + b*u^3 - 3*c*t^2*v - 3*a*t*v^2 + c*v^3 - 3*d*u^2*w - 3*b*u*w^2 + d*w^3 = 0; 23 | -1.2342523 + c*t^3 + d*u^3 + 3*a*t^2*v - 3*c*t*v^2 - a*v^3 + 3*b*u^2*w - 3*d*u*w^2 - b*w^3 = 0; 24 | end 25 | -------------------------------------------------------------------------------- /benchs/solver/polynom/EQCombustion.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.047 2 | Variables 3 | 4 | y1 in [-1e8,1e8]; 5 | y2 in [-1e8,1e8]; 6 | y3 in [-1e8,1e8]; 7 | y4 in [-1e8,1e8]; 8 | y5 in [-1e8,1e8]; 9 | 10 | 11 | Constraints 12 | //Original System 13 | y1 + y1*y2 - 3*y5 = 0; 14 | y1 + 0.00000044975*y2 + 2*y1*y2 + 0.0000028845*y2^2 + 0.0005451766686*y2*y3 + y2*y3^2 + 0.00003407354179*y2*y4 - 10*y5 = 0; 15 | 0.0004106217542*y3 + 0.0005451766686*y2*y3 + 0.386*y3^2 + 2*y2*y3^2 - 8*y5 = 0; 16 | 0.00003407354179*y2*y4 + 2*y4^2 - 40*y5 = 0; 17 | -1 + y1 + 0.00000044975*y2 + y1*y2 + 0.0000009615*y2^2 + 0.0004106217542*y3 + 0.0005451766686*y2*y3 + 0.193*y3^2 + y2*y3^2 + 0.00003407354179*y2*y4 + y4^2 = 0; 18 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Eco10.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.047 2 | Variables 3 | 4 | x1 in [-1e8,1e8]; 5 | x2 in [-1e8,1e8]; 6 | x3 in [-1e8,1e8]; 7 | x4 in [-1e8,1e8]; 8 | x5 in [-1e8,1e8]; 9 | x6 in [-1e8,1e8]; 10 | x7 in [-1e8,1e8]; 11 | x8 in [-1e8,1e8]; 12 | x9 in [-1e8,1e8]; 13 | 14 | 15 | 16 | Constraints 17 | //Original System 18 | x1* (1+x2) + x3 * (x2+x4)+ x5 * (x4+x6) + x7 *(x6+x8) + x9 * (x8 -1/9)= 0; 19 | x2* (1+x4) + x3 * (x1+x5)+ x6 * (x4+x8) + x5*x7 + x9 * (x7 -2/9)= 0; 20 | x3* (1+x6) + x4 * (x1+x7)+ x5 * (x2+x8) + x9 * (x6 -3/9)= 0; 21 | x4* (1+x8) + x5 * (x1+x9)+ x2 * x6 + x3*x7 -4/9*x9= 0; 22 | 23 | x5 + x1*x6 + x2*x7 +x3*x8 + x9* (x4-5/9)= 0; 24 | x6 + x1*x7 +x2*x8 + x9 *(x3-6/9)= 0; 25 | x7 + x1*x8 + x9 *(x2-7/9)= 0; 26 | x8 + x9 *(x1-8/9)= 0; 27 | 1 + x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 +x9= 0; 28 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Eco9.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.078 2 | Variables 3 | 4 | x1 in [-100,100]; 5 | x2 in [-100,100]; 6 | x3 in [-100,100]; 7 | x4 in [-100,100]; 8 | x5 in [-100,100]; 9 | x6 in [-100,100]; 10 | x7 in [-100,100]; 11 | x8 in [-100,100]; 12 | 13 | Constraints 14 | //Original System 15 | x1 + x2*(x1 + x3) + x4*(x3 + x5) + x6*(x5 + x7) - (1/8 - x7)*x8 = 0; 16 | x2 + x3*(x1 + x5) + x4*(x2 + x6) + x5*x7 - (1/4 - x6)*x8 = 0; 17 | x2*x5 + x3*(1 + x6) + x4*(x1 + x7) - (3/8 - x5)*x8 = 0; 18 | x4 + x1*x5 + x2*x6 + x3*x7 - (1/2 - x4)*x8 = 0; 19 | x5 + x1*x6 + x2*x7 - (5/8 - x3)*x8 = 0; 20 | x6 + x1*x7 - (3/4 - x2)*x8 = 0; 21 | x7 - (7/8 - x1)*x8 = 0; 22 | 1 + x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 = 0; 23 | end 24 | -------------------------------------------------------------------------------- /benchs/solver/polynom/ExtendedFreud-0002.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x[2] in [-1e8,1.e8]; 3 | 4 | Constraints 5 | -13 + x(1) + x(2)*(-2 + (5 - x(2))*x(2)) = 0; 6 | -29 + x(1) + x(2)*(-14 + x(2)*(1 + x(2))) = 0; 7 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/ExtendedFreud-0010.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x[10] in [-1e8,1e8]; 3 | 4 | Constraints 5 | -13 + x(1) + x(2)*(-2 + (5 - x(2))*x(2)) = 0; 6 | -29 + x(1) + x(2)*(-14 + x(2)*(1 + x(2))) = 0; 7 | -13 + x(3) + x(4)*(-2 + (5 - x(4))*x(4)) = 0; 8 | -29 + x(3) + x(4)*(-14 + x(4)*(1 + x(4))) = 0; 9 | -13 + x(5) + x(6)*(-2 + (5 - x(6))*x(6)) = 0; 10 | -29 + x(5) + x(6)*(-14 + x(6)*(1 + x(6))) = 0; 11 | -13 + x(7) + x(8)*(-2 + (5 - x(8))*x(8)) = 0; 12 | -29 + x(7) + x(8)*(-14 + x(8)*(1 + x(8))) = 0; 13 | -13 + x(9) + x(10)*(-2 + (5 - x(10))*x(10)) = 0; 14 | -29 + x(9) + x(10)*(-14 + x(10)*(1 + x(10))) = 0; 15 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/ExtendedWood-04.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.031 2 | Variables 3 | 4 | x[4] in [-1e6,1e6]; 5 | 6 | Constraints 7 | //Original System 8 | -1 + x(1) - 200*x(1)*(-x(1)^2 + x(2)) = 0; 9 | 20*(-1 + x(2)) + 200*(-x(1)^2 + x(2)) + 19.8*(-1 + x(4)) = 0; 10 | -1 + x(3) - 180*x(3)*(-x(3)^2 + x(4)) = 0; 11 | 19.8*(-1 + x(2)) + 20.2*(-1 + x(4)) + 180*(-x(3)^2 + x(4)) = 0; 12 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/ExtendedWood-08.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.031 2 | Variables 3 | 4 | x[8] in [-1e6,1e6]; 5 | 6 | Constraints 7 | //Original System 8 | -1 + x(1) - 200*x(1)*(-x(1)^2 + x(2)) = 0; 9 | 20*(-1 + x(2)) + 200*(-x(1)^2 + x(2)) + 19.8*(-1 + x(4)) = 0; 10 | -1 + x(3) - 180*x(3)*(-x(3)^2 + x(4)) = 0; 11 | 19.8*(-1 + x(2)) + 20.2*(-1 + x(4)) + 180*(-x(3)^2 + x(4)) = 0; 12 | -1 + x(5) - 200*x(5)*(-x(5)^2 + x(6)) = 0; 13 | 20*(-1 + x(6)) + 200*(-x(5)^2 + x(6)) + 19.8*(-1 + x(8)) = 0; 14 | -1 + x(7) - 180*x(7)*(-x(7)^2 + x(8)) = 0; 15 | 19.8*(-1 + x(6)) + 20.2*(-1 + x(8)) + 180*(-x(7)^2 + x(8)) = 0; 16 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Fredtest.bch: -------------------------------------------------------------------------------- 1 | Constants 2 | delta =1./30.; 3 | 4 | Variables 5 | a1 in [-10,10]; 6 | a2 in [-10,10]; 7 | a3 in [-10,10]; 8 | x1 in [0,1]; 9 | x2 in [0,1]; 10 | x3 in [0,1]; 11 | 12 | Constraints 13 | a1 + a2 + a3 + 1 =0; 14 | a1 + 2*a2*x1 + 3*a3*x1^2 + 4*x1^3 =0; 15 | a1 + 2*a2*x2 + 3*a3*x2^2 + 4*x2^3 =0; 16 | a1 + 2*a2*x3 + 3*a3*x3^2 + 4*x3^3 =0; 17 | a1*(x1+x2) + a2*(x1^2 + x2^2) + a3*(x1^3 + x2^3) + x1^4 + x2^4 =0; 18 | a1*(x2+x3) + a2*(x2^2 + x3^2) + a3*(x2^3 + x3^3) + x2^4 + x3^4 =0; 19 | x1 + delta -x2<= 0; 20 | x2 + delta -x3<= 0; 21 | 22 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Osborne1.bch: -------------------------------------------------------------------------------- 1 | variables 2 | x[5]in [-10,10]; 3 | 4 | constraints 5 | 0.844 - (x(1) + x(2) + x(3)) = 0; 6 | 0.908 -(x(1) + x(2)* exp (-10*x(4)) + x(3) *exp (-10*x(5))) = 0; 7 | 0.932 -(x(1) + x(2)* exp (-20*x(4)) + x(3) *exp (-20*x(5))) = 0; 8 | 0.936 -(x(1) + x(2)* exp (-30*x(4)) + x(3) *exp (-30*x(5))) = 0; 9 | 0.925 -(x(1) + x(2)* exp (-40*x(4)) + x(3) *exp (-40*x(5))) = 0; 10 | 11 | end 12 | -------------------------------------------------------------------------------- /benchs/solver/polynom/Redeco10.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.047 2 | Variables 3 | 4 | x1 in [-1e8,1e8]; 5 | x2 in [-1e8,1e8]; 6 | x3 in [-1e8,1e8]; 7 | x4 in [-1e8,1e8]; 8 | x5 in [-1e8,1e8]; 9 | x6 in [-1e8,1e8]; 10 | x7 in [-1e8,1e8]; 11 | x8 in [-1e8,1e8]; 12 | x9 in [-1e8,1e8]; 13 | u10 in [-1e8,1e8]; 14 | 15 | 16 | Constraints 17 | //Original System 18 | -u10 + x1 + x1*x2 + x2*x3 + x3*x4 + x4*x5 + x5*x6 + x6*x7 + x7*x8 + x8*x9= 0; 19 | -2*u10 + x2 + x1*x3 + x2*x4 + x3*x5 + x4*x6 + x5*x7 + x6*x8 + x7*x9= 0; 20 | -3*u10 + x3 + x1*x4 + x2*x5 + x3*x6 + x4*x7 + x5*x8 + x6*x9= 0; 21 | -4*u10 + x4 + x1*x5 + x2*x6 + x3*x7 + x4*x8 + x5*x9=0; 22 | -5*u10 + x5 + x1*x6 + x2*x7 +x3*x8 + x4*x9= 0; 23 | -6*u10 + x6 + x1*x7 +x2*x8 + x3*x9= 0; 24 | -7*u10 + x7 + x1*x8 + x2*x9= 0; 25 | -8*u10 + x8 +x1*x9= 0; 26 | -9*u10 + x9= 0; 27 | 1 + x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 +x9= 0; 28 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Redeco8.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.047 2 | Variables 3 | 4 | x1 in [-1e8,1e8]; 5 | x2 in [-1e8,1e8]; 6 | x3 in [-1e8,1e8]; 7 | x4 in [-1e8,1e8]; 8 | x5 in [-1e8,1e8]; 9 | x6 in [-1e8,1e8]; 10 | x7 in [-1e8,1e8]; 11 | u8 in [-1e8,1e8]; 12 | 13 | 14 | Constraints 15 | //Original System 16 | -u8 + x1 + x1*x2 + x2*x3 + x3*x4 + x4*x5 + x5*x6 + x6*x7 = 0; 17 | -2*u8 + x2 + x1*x3 + x2*x4 + x3*x5 + x4*x6 + x5*x7 = 0; 18 | -3*u8 + x3 + x1*x4 + x2*x5 + x3*x6 + x4*x7 = 0; 19 | -4*u8 + x4 + x1*x5 + x2*x6 + x3*x7 = 0; 20 | -5*u8 + x5 + x1*x6 + x2*x7 = 0; 21 | -6*u8 + x6 + x1*x7 = 0; 22 | -7*u8 + x7 = 0; 23 | 1 + x1 + x2 + x3 + x4 + x5 + x6 + x7 = 0; 24 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Redeco9.bch: -------------------------------------------------------------------------------- 1 | //Time of Generation:0.047 2 | Variables 3 | 4 | x1 in [-1e8,1e8]; 5 | x2 in [-1e8,1e8]; 6 | x3 in [-1e8,1e8]; 7 | x4 in [-1e8,1e8]; 8 | x5 in [-1e8,1e8]; 9 | x6 in [-1e8,1e8]; 10 | x7 in [-1e8,1e8]; 11 | x8 in [-1e8,1e8]; 12 | u9 in [-1e8,1e8]; 13 | 14 | 15 | Constraints 16 | //Original System 17 | -u9 + x1 + x1*x2 + x2*x3 + x3*x4 + x4*x5 + x5*x6 + x6*x7 + x7*x8= 0; 18 | -2*u9 + x2 + x1*x3 + x2*x4 + x3*x5 + x4*x6 + x5*x7 + x6*x8= 0; 19 | -3*u9 + x3 + x1*x4 + x2*x5 + x3*x6 + x4*x7 + x5*x8= 0; 20 | -4*u9 + x4 + x1*x5 + x2*x6 + x3*x7 + x4*x8 =0; 21 | -5*u9 + x5 + x1*x6 + x2*x7 +x3*x8= 0; 22 | -6*u9 + x6 + x1*x7 +x2*x8= 0; 23 | -7*u9 + x7 + x1*x8= 0; 24 | -8*u9 + x8 = 0; 25 | 1 + x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 = 0; 26 | end -------------------------------------------------------------------------------- /benchs/solver/polynom/Rose.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x in [ -10000000, 10000000 ] , 3 | y in [ -10000000, 10000000 ] , 4 | z in [ -10000000, 10000000 ] ; 5 | Constraints 6 | y^4-(20/7)*x^2 =0; 7 | x^2*z^4+7./10*x*z^4+7./48*z^4-50./27*x^2-35./27*x-49./216 =0; 8 | 3./5*x^6*y^2*z+x^5*y^3+3./7*x^5*y^2*z+7./5*x^4*y^3-7./20*x^4*y*z^2-3./20*x^4*z^3+609./1000*x^3*y^3+63./200*x^3*y^2*z-77./125*x^3*y*z^2-21./50*x^3*z^3+49./1250*x^2*y^3+147./2000*x^2*y^2*z-23863./60000*x^2*y*z^2-91./400*x^2*z^3-27391./800000*x*y^3+4137./800000*x*y^2*z-1078./9375*x*y*z^2-5887./200000*x*z^3-1029./160000*y^3-24353./1920000*y*z^2-343./128000*z^3 =0; 9 | end 10 | -------------------------------------------------------------------------------- /benchs/solver/polynom/brown5a.bch: -------------------------------------------------------------------------------- 1 | // brown (n=5) -- GENERATED -- 2 | 3 | Variables 4 | x1 in [-1e8,1e8]; 5 | x2 in [-1e8,1e8]; 6 | x3 in [-1e8,1e8]; 7 | x4 in [-1e8,1e8]; 8 | x5 in [-1e8,1e8]; 9 | 10 | Constraints 11 | x1 + x1+x2+x3+x4+x5=6; 12 | x2 + x1+x2+x3+x4+x5=6; 13 | x3 + x1+x2+x3+x4+x5=6; 14 | x4 + x1+x2+x3+x4+x5=6; 15 | x1*x2*x3*x4*x5=1; 16 | 17 | end 18 | -------------------------------------------------------------------------------- /benchs/solver/polynom/brown5b.bch: -------------------------------------------------------------------------------- 1 | // brown (n=5) -- GENERATED -- 2 | 3 | Variables 4 | x[5] in [-1,1]; //[-1e8,1e8]; 5 | 6 | Constraints 7 | x(1) + x(1)+x(2)+x(3)+x(4)+x(5)=6; 8 | x(2) + x(1)+x(2)+x(3)+x(4)+x(5)=6; 9 | x(3) + x(1)+x(2)+x(3)+x(4)+x(5)=6; 10 | x(4) + x(1)+x(2)+x(3)+x(4)+x(5)=6; 11 | x(1)*x(2)*x(3)*x(4)*x(5)=1; 12 | 13 | end 14 | -------------------------------------------------------------------------------- /benchs/solver/polynom/yamamura/Yamamua1-0012sp.bch: -------------------------------------------------------------------------------- 1 | // yamamura (n=8) -- GENERATED -- 2 | 3 | Variables 4 | 5 | x[12] in [-10^8, 10^8], 6 | v in [-10^9, 10^9]; 7 | 8 | Constraints 9 | 10 | 2.5*x(1)^3 -10.5*x(1)^2 + 11.8*x(1) -1 +v=0; 11 | 2.5*x(2)^3 -10.5*x(2)^2 + 11.8*x(2) -2 +v=0; 12 | 2.5*x(3)^3 -10.5*x(3)^2 + 11.8*x(3) -3 +v=0; 13 | 2.5*x(4)^3 -10.5*x(4)^2 + 11.8*x(4) -4 +v=0; 14 | 2.5*x(5)^3 -10.5*x(5)^2 + 11.8*x(5) -5 +v=0; 15 | 2.5*x(6)^3 -10.5*x(6)^2 + 11.8*x(6) -6 +v=0; 16 | 2.5*x(7)^3 -10.5*x(7)^2 + 11.8*x(7) -7 +v=0; 17 | 2.5*x(8)^3 -10.5*x(8)^2 + 11.8*x(8) -8 +v=0; 18 | 2.5*x(9)^3 -10.5*x(9)^2 + 11.8*x(9) -9 +v=0; 19 | 2.5*x(10)^3 -10.5*x(10)^2 + 11.8*x(10) -10 +v=0; 20 | 2.5*x(11)^3 -10.5*x(11)^2+ 11.8*x(11) -11 +v=0; 21 | 2.5*x(12)^3 -10.5*x(12)^2 + 11.8*x(12) -12 +v=0; 22 | x(1)+x(2)+x(3)+x(4)+x(5)+x(6)+x(7)+x(8)+x(9)+x(10)+x(11)+x(12)-v=0; 23 | end 24 | -------------------------------------------------------------------------------- /benchs/solver/polynom/yamamura8a.bch: -------------------------------------------------------------------------------- 1 | Variables 2 | x[8] in [-1e8, 1e8]; 3 | 4 | Constraints 5 | 2.5*x(1)^3 -10.5*x(1)^2 + 12.8*x(1) -1 +x(8)+x(2)+x(3)+x(4)+x(5)+x(6)+x(7)=0; 6 | 2.5*x(2)^3 -10.5*x(2)^2 + 12.8*x(2) -2 +x(8)+x(1)+x(3)+x(4)+x(5)+x(6)+x(7)=0; 7 | 2.5*x(3)^3 -10.5*x(3)^2 + 12.8*x(3) -3 +x(8)+x(1)+x(2)+x(4)+x(5)+x(6)+x(7)=0; 8 | 2.5*x(4)^3 -10.5*x(4)^2 + 12.8*x(4) -4 +x(8)+x(1)+x(2)+x(3)+x(5)+x(6)+x(7)=0; 9 | 2.5*x(5)^3 -10.5*x(5)^2 + 12.8*x(5) -5 +x(8)+x(1)+x(2)+x(3)+x(4)+x(6)+x(7)=0; 10 | 2.5*x(6)^3 -10.5*x(6)^2 + 12.8*x(6) -6 +x(8)+x(1)+x(2)+x(3)+x(4)+x(5)+x(7)=0; 11 | 2.5*x(7)^3 -10.5*x(7)^2 + 12.8*x(7) -7 +x(8)+x(1)+x(2)+x(3)+x(4)+x(5)+x(6)=0; 12 | 2.5*x(8)^3 -10.5*x(8)^2 + 12.8*x(8) -8 +x(1)+x(2)+x(3)+x(4)+x(5)+x(6)+x(7)=0; 13 | 14 | end 15 | -------------------------------------------------------------------------------- /doc/Test_LP_kleemin3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/Test_LP_kleemin3.pdf -------------------------------------------------------------------------------- /doc/_build/html/ignore.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /doc/images/Poly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/Poly.png -------------------------------------------------------------------------------- /doc/images/T_PointInPoly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/T_PointInPoly.png -------------------------------------------------------------------------------- /doc/images/T_PointOutPoly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/T_PointOutPoly.png -------------------------------------------------------------------------------- /doc/images/choco.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/choco.png -------------------------------------------------------------------------------- /doc/images/ctc-compo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/ctc-compo.png -------------------------------------------------------------------------------- /doc/images/ibex.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/ibex.jpg -------------------------------------------------------------------------------- /doc/images/lab1-15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/lab1-15.png -------------------------------------------------------------------------------- /doc/images/lab1-500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/lab1-500.png -------------------------------------------------------------------------------- /doc/images/lab1-80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/lab1-80.png -------------------------------------------------------------------------------- /doc/images/makefile: -------------------------------------------------------------------------------- 1 | SVG=$(wildcard *.svg) 2 | PNG=$(SVG:.svg=.png) 3 | 4 | main: $(PNG) 5 | 6 | %.png : %.svg 7 | inkscape -D -o $@ $^ 8 | 9 | clean: 10 | @rm -f $(PNG) 11 | -------------------------------------------------------------------------------- /doc/images/mapping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/mapping.png -------------------------------------------------------------------------------- /doc/images/param-estim-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/param-estim-1.png -------------------------------------------------------------------------------- /doc/images/param-estim-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/param-estim-2.png -------------------------------------------------------------------------------- /doc/images/param-estim-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/param-estim-3.png -------------------------------------------------------------------------------- /doc/images/param-estim-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/param-estim-4.png -------------------------------------------------------------------------------- /doc/images/param-estim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/param-estim.png -------------------------------------------------------------------------------- /doc/images/polytope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/polytope.png -------------------------------------------------------------------------------- /doc/images/prob02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/prob02.png -------------------------------------------------------------------------------- /doc/images/set-inter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/set-inter.png -------------------------------------------------------------------------------- /doc/images/set-interval.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/set-interval.png -------------------------------------------------------------------------------- /doc/images/set-sep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/set-sep.png -------------------------------------------------------------------------------- /doc/images/set-union.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/set-union.png -------------------------------------------------------------------------------- /doc/images/set-visit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/set-visit.png -------------------------------------------------------------------------------- /doc/images/sivia-basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/sivia-basic.png -------------------------------------------------------------------------------- /doc/images/sivia-contract.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/sivia-contract.png -------------------------------------------------------------------------------- /doc/images/sivia-full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/sivia-full.png -------------------------------------------------------------------------------- /doc/images/stability.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/images/stability.png -------------------------------------------------------------------------------- /doc/plugins-dev.rst: -------------------------------------------------------------------------------- 1 | 2 | .. _ibex-plugins-dev: 3 | 4 | *************************** 5 | Writing a plugin for Ibex 6 | *************************** 7 | 8 | .. note:: 9 | 10 | TODO. 11 | 12 | For now just see the template repository for a plugin 13 | `here `_. 14 | -------------------------------------------------------------------------------- /doc/resources.rst: -------------------------------------------------------------------------------- 1 | 2 | ==================================== 3 | Other Resources 4 | ==================================== 5 | 6 | - In French: `An introduction to Ibex and Minibex by the OGRE team of LS2N (PDF) `_. 7 | -------------------------------------------------------------------------------- /doc/x86_64-MaxOSX-compat-gcc.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/doc/x86_64-MaxOSX-compat-gcc.tgz -------------------------------------------------------------------------------- /examples/doc-optim.txt: -------------------------------------------------------------------------------- 1 | ================= this file is generated ============== 2 | ! [optim-call-default-O] 3 | interval for the minimum: [-310.0000308420031, -309.999999842] 4 | minimizer: (<4.999999999, 4.999999999000001> ; <1, 1.000000000000001> ; <5, 5> ; <9.999965300266921e-10, 9.999965300266922e-10> ; <5, 5> ; <10, 10>) 5 | ! [optim-call-default-O] 6 | ! [optim-implem-default-O] 7 | f* in [-310.0071528102475, -309.935905801148] 8 | cpu time used=0.002611s. 9 | number of cells=4 10 | ! [optim-implem-default-O] 11 | ! [optim-all-minima-O] 12 | ! [optim-all-minima-O] 13 | -------------------------------------------------------------------------------- /examples/doc-separator.txt: -------------------------------------------------------------------------------- 1 | ================= this file is generated ============== 2 | ! [sep-ctc-pair-O] 3 | ! [sep-ctc-pair-O] 4 | ! [sep-fwd-bwd-O] 5 | result of inner contraction=([1, 3] ; [1, 2]) 6 | result of outer contraction=([0, 2] ; [1, 2]) 7 | ! [sep-fwd-bwd-O] 8 | ! [sep-boundary-O] 9 | result of inner contraction=([1, 3] ; [1, 2]) 10 | result of outer contraction=([0, 3] ; [1, 2]) 11 | ! [sep-boundary-O] 12 | -------------------------------------------------------------------------------- /examples/doc-set.txt: -------------------------------------------------------------------------------- 1 | ================= this file is generated ============== 2 | ! [set-visit-2-O] 3 | ([-inf, -9] ; [-inf, inf]) : out 4 | ([-9, 9] ; [-inf, -9]) : out 5 | ([-9, -4.5] ; [-9, 0]) : ? 6 | ([-4.5, 0] ; [-9, -8]) : ? 7 | ([-4.5, 0] ; [-8, 0]) : in 8 | ([-9, -4.5] ; [0, 9]) : ? 9 | ([-4.5, 0] ; [0, 8]) : in 10 | ([-4.5, 0] ; [8, 9]) : ? 11 | ([0, 4.5] ; [-9, -8]) : ? 12 | ([0, 4.5] ; [-8, 0]) : in 13 | ([4.5, 9] ; [-9, 0]) : ? 14 | ([0, 4.5] ; [0, 8]) : in 15 | ([0, 4.5] ; [8, 9]) : ? 16 | ([4.5, 9] ; [0, 9]) : ? 17 | ([-9, 9] ; [9, inf]) : out 18 | ([9, inf] ; [-inf, inf]) : out 19 | ! [set-visit-2-O] 20 | -------------------------------------------------------------------------------- /examples/myfunction.txt: -------------------------------------------------------------------------------- 1 | function f(x) 2 | return ((2*x,-x);(-x,3*x)); 3 | end 4 | -------------------------------------------------------------------------------- /examples/slam/makefile: -------------------------------------------------------------------------------- 1 | SRCS=$(wildcard slam*.cpp) 2 | BINS=$(SRCS:.cpp=) 3 | 4 | CXXFLAGS := $(shell pkg-config --cflags ibex) 5 | LIBS := $(shell pkg-config --libs ibex) 6 | LIBDIR := $(shell pkg-config --libdir ibex) 7 | 8 | ifeq ($(DEBUG), yes) 9 | CXXFLAGS := $(CXXFLAGS) -O0 -g -pg -Wall -frounding-math -ffloat-store -msse2 -mfpmath=sse 10 | else 11 | CXXFLAGS := $(CXXFLAGS) -O3 -DNDEBUG -Wno-deprecated -frounding-math -ffloat-store -msse2 -mfpmath=sse 12 | endif 13 | 14 | all: $(BINS) 15 | 16 | data.o : data.cpp data.h 17 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $< $(LIBS) 18 | 19 | % : %.cpp data.o 20 | echo $(BINS) $(OBJS) 21 | $(CXX) $(CPPFLAGS) $(LDFLAGS) $(CXXFLAGS) -o $@ $^ $(LIBS) 22 | 23 | clean: 24 | rm -f $(BINS) *.o 25 | 26 | -------------------------------------------------------------------------------- /ibex.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ 3 | libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ 4 | 5 | Name: ibex 6 | Description: A C++ library for interval-based algorithm design 7 | Version: @IBEX_VERSION@ 8 | Cflags: -I${includedir} -I${includedir}/ibex @IBEX_PKGCONFIG_INCDIRS@ @IBEX_PKGCONFIG_CXXFLAGS@ 9 | Libs: -L${libdir} -libex @IBEX_PKGCONFIG_LINK_DIRS@ @IBEX_PKGCONFIG_LIBS@ 10 | -------------------------------------------------------------------------------- /interval_lib_wrapper/bias/ibex_IntervalLibWrapper.h: -------------------------------------------------------------------------------- 1 | #ifndef _IBEX_INTERVALLIBWRAPPER_H_ 2 | #define _IBEX_INTERVALLIBWRAPPER_H_ 3 | 4 | #include "Interval.h" 5 | 6 | #define IBEX_INTERVAL_LIB_NEG_INFINITY BiasNegInf 7 | #define IBEX_INTERVAL_LIB_POS_INFINITY BiasPosInf 8 | 9 | namespace ibex { 10 | typedef INTERVAL interval_type_wrapper; 11 | 12 | static inline double 13 | _interval_distance_wrapper (const interval_type_wrapper &x1, 14 | const interval_type_wrapper &x2) 15 | { 16 | return Distance (x1, x2); 17 | } 18 | } 19 | 20 | #endif /* _IBEX_INTERVALLIBWRAPPER_H_ */ 21 | -------------------------------------------------------------------------------- /interval_lib_wrapper/direct/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set (DIRECT_NAME "direct" PARENT_SCOPE) 2 | set (DIRECT_TARGET "direct" PARENT_SCOPE) 3 | 4 | add_library (direct INTERFACE) 5 | 6 | message(WARNING "Using INTERVAL_LIB=${INTERVAL_LIB} may not give exact results") 7 | 8 | # We need to add flags "-frounding-math" and "-ffloat-store" 9 | # It is necessary to avoid problem with x80 processor. 10 | foreach (flag "-frounding-math" "-ffloat-store") 11 | string (TOUPPER "${flag}" upperflag) 12 | string (REPLACE "-" "_" upperflag "${upperflag}") 13 | check_cxx_compiler_flag (${flag} COMPILER_SUPPORTS${upperflag}) 14 | if (COMPILER_SUPPORTS${upperflag}) 15 | list (APPEND _flags ${flag}) 16 | endif() 17 | endforeach () 18 | 19 | set_target_properties (direct PROPERTIES INTERFACE_COMPILE_OPTIONS "${_flags}") 20 | install (TARGETS direct EXPORT ibexExport COMPONENT devtools) 21 | -------------------------------------------------------------------------------- /interval_lib_wrapper/filib/3rd/filibsrc-3.0.2.2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/interval_lib_wrapper/filib/3rd/filibsrc-3.0.2.2.tar.gz -------------------------------------------------------------------------------- /interval_lib_wrapper/filib/3rd/filibsrc-3.0.2.2/rounding_control/rounding_control_config.hpp.in: -------------------------------------------------------------------------------- 1 | #if ! defined(ROUNDING_CONTROL_CONFIG_HPP) 2 | #define ROUNDING_CONTROL_CONFIG_HPP 3 | 4 | #if ! defined(_MSC_VER) 5 | // SSE 6 | /* 7 | */ 8 | #cmakedefine HAVE_SSE 9 | 10 | // X87 11 | #cmakedefine HAVE_X87 12 | 13 | // ISO C99 rounding functions 14 | /* 15 | #if ! defined(__STDC_IEC_559__) 16 | #define __STDC_IEC_559__ 17 | #endif 18 | */ 19 | #endif 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /interval_lib_wrapper/gaol/3rd/gaol-4.2.3alpha0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/interval_lib_wrapper/gaol/3rd/gaol-4.2.3alpha0.tar.gz -------------------------------------------------------------------------------- /interval_lib_wrapper/gaol/3rd/gaol-4.2.3alpha0/test_sse.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int 4 | main (int argc, char *argv[]) 5 | { 6 | unsigned int a, b, c, d; 7 | bool have_sse2 = false; 8 | bool have_sse3 = false; 9 | __asm__ __volatile__ ("cpuid" : "=a" (a), "=b" (b), "=c" (c), "=d" (d) 10 | : "a" (0)); 11 | if (a >= 1) { 12 | __asm__ __volatile__ ("cpuid" : "=a" (a), "=b" (b), "=c" (c), "=d" (d) 13 | : "a" (1)); 14 | have_sse2 = bool(d & 0x04000000); 15 | have_sse3 = bool(c & 0x00000001); 16 | } 17 | std::cout << "HAVE_SSE2=" << std::boolalpha << have_sse2 << std::endl; 18 | std::cout << "HAVE_SSE3=" << std::boolalpha << have_sse3 << std::endl; 19 | return 0; 20 | } 21 | -------------------------------------------------------------------------------- /interval_lib_wrapper/gaol/3rd/mathlib-2.1.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/interval_lib_wrapper/gaol/3rd/mathlib-2.1.1.tar.gz -------------------------------------------------------------------------------- /interval_lib_wrapper/gaol/3rd/mathlib-2.1.1.win32.all.patch: -------------------------------------------------------------------------------- 1 | --- mathlib-2.1.0/src/mathlib_config_mingw.h 2016-11-02 15:00:25.163426658 +0100 2 | +++ mathlib-2.1.0/src/mathlib_config_mingw.h 2016-11-02 15:00:45.048205037 +0100 3 | @@ -9,3 +9,5 @@ 4 | #define VERSION "0.0.1" 5 | 6 | #define MATHLIB_MINGW 1 7 | +#define MATHLIB_CYGWIN 1 8 | +#define IX86_CPU 1 9 | -------------------------------------------------------------------------------- /lp_lib_wrapper/clp/3rd/Clp-1.17.6.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibex-team/ibex-lib/356cc59e3f023b55d83353c61a52a5f1857c49dd/lp_lib_wrapper/clp/3rd/Clp-1.17.6.tgz -------------------------------------------------------------------------------- /lp_lib_wrapper/clp/3rd/Clp-1.17.6/Clp/src/config_clp.h.in: -------------------------------------------------------------------------------- 1 | /* src/config_clp.h.in. */ 2 | 3 | /* Define to 1, 2, 3, or 4 if Aboca should be build. */ 4 | #cmakedefine CLP_HAS_ABC @CLP_HAS_ABC@ 5 | 6 | /* Version number of project */ 7 | #define CLP_VERSION "@CLP_VERSION@" 8 | 9 | /* Major Version number of project */ 10 | #define CLP_VERSION_MAJOR @CLP_VERSION_MAJOR@ 11 | 12 | /* Minor Version number of project */ 13 | #define CLP_VERSION_MINOR @CLP_VERSION_MINOR@ 14 | 15 | /* Release Version number of project */ 16 | #define CLP_VERSION_RELEASE @CLP_VERSION_RELEASE@ 17 | -------------------------------------------------------------------------------- /lp_lib_wrapper/clp/ibex_LPLibWrapper.h: -------------------------------------------------------------------------------- 1 | #ifndef _IBEX_LPLIBWRAPPER_H_ 2 | #define _IBEX_LPLIBWRAPPER_H_ 3 | 4 | #ifdef DEBUG 5 | #undef DEBUG 6 | #ifndef DEBUGGING 7 | #define DEBUGGING 8 | #endif 9 | #include "ClpSimplex.hpp" 10 | #define DEBUG 11 | #else 12 | #include "ClpSimplex.hpp" 13 | #endif 14 | 15 | #define IBEX_LPSOLVER_WRAPPER_ATTRIBUTES ClpSimplex *myclp 16 | 17 | #endif /* _IBEX_LPLIBWRAPPER_H_ */ 18 | -------------------------------------------------------------------------------- /lp_lib_wrapper/cplex/ibex_LPLibWrapper.h: -------------------------------------------------------------------------------- 1 | #ifndef _IBEX_LPLIBWRAPPER_H_ 2 | #define _IBEX_LPLIBWRAPPER_H_ 3 | 4 | #include "ilcplex/ilocplex.h" 5 | #include 6 | 7 | #define IBEX_LPSOLVER_WRAPPER_ATTRIBUTES IloEnv env; \ 8 | IloModel model; \ 9 | IloCplex cplex; \ 10 | IloNumVarArray x; \ 11 | IloObjective cost_; \ 12 | IloRangeArray constraints; \ 13 | std::unordered_map variableIdToIndex; \ 14 | ibex::Vector linearit2ivec(int n, IloExpr::LinearIterator it) const; 15 | 16 | #endif /* _IBEX_LPLIBWRAPPER_H_ */ 17 | -------------------------------------------------------------------------------- /lp_lib_wrapper/none/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # empty: nothing to do 2 | -------------------------------------------------------------------------------- /lp_lib_wrapper/none/ibex_LPLibWrapper.h: -------------------------------------------------------------------------------- 1 | #ifndef _IBEX_LPLIBWRAPPER_H_ 2 | #define _IBEX_LPLIBWRAPPER_H_ 3 | 4 | #define __IBEX_NO_LP_SOLVER__ 1 5 | 6 | #define IBEX_LPSOLVER_WRAPPER_ATTRIBUTES 7 | #endif /* _IBEX_LPLIBWRAPPER_H_ */ 8 | -------------------------------------------------------------------------------- /lp_lib_wrapper/soplex/ibex_LPLibWrapper.h: -------------------------------------------------------------------------------- 1 | #ifndef _IBEX_LPLIBWRAPPER_H_ 2 | #define _IBEX_LPLIBWRAPPER_H_ 3 | 4 | #if defined(_WIN32) 5 | #pragma warning( push, 0 ) 6 | #elif defined(__GNUC__) 7 | #pragma GCC diagnostic push 8 | #pragma GCC diagnostic ignored "-Wclass-memaccess" 9 | #endif 10 | 11 | #ifdef DEBUG 12 | #undef DEBUG 13 | #ifndef DEBUGGING 14 | #define DEBUGGING 15 | #endif 16 | #include "soplex.h" 17 | #define DEBUG 18 | #else 19 | #include "soplex.h" 20 | #endif 21 | 22 | #if defined(_WIN32) 23 | #pragma warning( pop ) 24 | #elif defined(__GNUC__) 25 | #pragma GCC diagnostic pop 26 | #endif 27 | 28 | 29 | #define IBEX_LPSOLVER_WRAPPER_ATTRIBUTES soplex::SoPlex *mysoplex 30 | 31 | #endif /* _IBEX_LPLIBWRAPPER_H_ */ 32 | -------------------------------------------------------------------------------- /src/bin/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable (ibexsolve ibexsolve.cpp parse_args.h) 2 | add_executable (ibexopt ibexopt.cpp parse_args.h) 3 | target_link_libraries (ibexsolve ibex) 4 | target_link_libraries (ibexopt ibex) 5 | set_target_properties (ibexsolve PROPERTIES RUNTIME_OUTPUT_DIRECTORY 6 | "${CMAKE_BINARY_DIR}/bin") 7 | set_target_properties (ibexopt PROPERTIES RUNTIME_OUTPUT_DIRECTORY 8 | "${CMAKE_BINARY_DIR}/bin") 9 | install (TARGETS ibexsolve DESTINATION ${CMAKE_INSTALL_BINDIR} 10 | COMPONENT binaries) 11 | install (TARGETS ibexopt DESTINATION ${CMAKE_INSTALL_BINDIR} 12 | COMPONENT binaries) 13 | -------------------------------------------------------------------------------- /src/combinatorial/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # see arithmetic/CMakeLists.txt for comments 2 | 3 | target_sources (ibex PRIVATE 4 | ${CMAKE_CURRENT_SOURCE_DIR}/ibex_QInter.cpp 5 | ${CMAKE_CURRENT_SOURCE_DIR}/ibex_QInter.h 6 | ) 7 | 8 | target_include_directories (ibex PUBLIC 9 | "$") 10 | -------------------------------------------------------------------------------- /src/ibex_Setting.h.in: -------------------------------------------------------------------------------- 1 | /* This file is automatically generated */ 2 | 3 | #ifndef __IBEX_SETTING_H__ 4 | #define __IBEX_SETTING_H__ 5 | 6 | #define _IBEX_RELEASE_ "@IBEX_VERSION@" 7 | #define _IBEX_INTERVAL_LIB_ "@INTERVAL_LIB@" 8 | #define _IBEX_LP_LIB_ "@LP_LIB@" 9 | #cmakedefine _IBEX_AS_DYNAMIC_LIB_ 1 10 | #cmakedefine USING_IPTOP 1 11 | 12 | #ifdef _MSC_VER 13 | #ifdef _IBEX_BUILD_DLL_ 14 | #define _IBEX_DLL_PORT_ __declspec(dllexport) 15 | #elif _IBEX_AS_DYNAMIC_LIB_ 16 | #define _IBEX_DLL_PORT_ __declspec(dllimport) 17 | #else 18 | #define _IBEX_DLL_PORT_ 19 | #endif 20 | #else 21 | #define _IBEX_DLL_PORT_ 22 | #endif // _MSC_VER 23 | 24 | #endif /* __IBEX_SETTING_H__ */ 25 | -------------------------------------------------------------------------------- /src/numeric/ibex_Linearizer.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_Linearizer.cpp 4 | // Author : Gilles Chabert, Ignacio Araya, Bertrand Neveu 5 | // Copyright : IMT Atlantique (France) 6 | // License : See the LICENSE file 7 | // Created : Jun 22, 2017 8 | //============================================================================ 9 | 10 | #include "ibex_Linearizer.h" 11 | #include "ibex_Id.h" 12 | 13 | namespace ibex { 14 | 15 | Linearizer::Linearizer(int n) : id(next_id()), n(n) { 16 | 17 | } 18 | 19 | Linearizer::~Linearizer() { 20 | 21 | } 22 | 23 | } /* namespace ibex */ 24 | -------------------------------------------------------------------------------- /src/operators/ibex_atanhc.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_atanhc.cpp 4 | // Author : Gilles Chabert 5 | // Copyright : IMT Atlantique (France) 6 | // License : See the LICENSE file 7 | // Created : Oct 05, 2018 8 | //============================================================================ 9 | 10 | namespace ibex { 11 | 12 | extern const char ATANHC[] = "atanhc"; 13 | 14 | } // end namespace 15 | -------------------------------------------------------------------------------- /src/operators/ibex_atanhccc.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_atanhccc.cpp 4 | // Author : Gilles Chabert 5 | // Copyright : IMT Atlantique (France) 6 | // License : See the LICENSE file 7 | // Created : Oct 05, 2018 8 | //============================================================================ 9 | 10 | namespace ibex { 11 | 12 | extern const char ATANHCCC[] = "atanhccc"; 13 | 14 | } // end namespace 15 | -------------------------------------------------------------------------------- /src/operators/ibex_crossproduct.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_crossproduct.cpp 4 | // Author : Gilles Chabert 5 | // Copyright : IMT Atlantique (France) 6 | // License : See the LICENSE file 7 | // Created : Oct 05, 2018 8 | //============================================================================ 9 | 10 | namespace ibex { 11 | 12 | extern const char CROSS_PRODUCT[] = "cross"; 13 | 14 | } // end namespace 15 | -------------------------------------------------------------------------------- /src/operators/ibex_sinc.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_sinc.cpp 4 | // Author : Gilles Chabert 5 | // Copyright : IMT Atlantique (France) 6 | // License : See the LICENSE file 7 | // Created : Oct 02, 2018 8 | //============================================================================ 9 | 10 | namespace ibex { 11 | 12 | extern const char SINC[] = "sinc"; 13 | 14 | } // end namespace 15 | -------------------------------------------------------------------------------- /src/operators/ibex_trace.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_trace.cpp 4 | // Author : Gilles Chabert 5 | // Copyright : IMT Atlantique (France) 6 | // License : See the LICENSE file 7 | // Created : Oct 03, 2018 8 | //============================================================================ 9 | 10 | namespace ibex { 11 | 12 | extern const char TRACE[] = "trace"; 13 | 14 | } // end namespace 15 | -------------------------------------------------------------------------------- /src/parser/ibex_SyntaxError.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_SyntaxError.cpp 4 | // Author : Gilles Chabert 5 | // Copyright : Ecole des Mines de Nantes (France) 6 | // License : See the LICENSE file 7 | // Created : Jun 12, 2012 8 | // Last Update : Jun 12, 2012 9 | //============================================================================ 10 | 11 | #include "ibex_SyntaxError.h" 12 | 13 | namespace ibex { 14 | 15 | std::ostream& operator<< (std::ostream& os, const SyntaxError& e) { 16 | os << "Syntax error"; 17 | if (e.token) os << " near \"" << e.token << "\""; 18 | if (e.line!=-1) os << " line " << e.line; 19 | os << ": " << e.msg; 20 | return os; 21 | } 22 | 23 | } // end namespace ibex 24 | -------------------------------------------------------------------------------- /src/predicate/ibex_PdcCleared.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_PdcCleared.cpp 4 | // Author : Gilles Chabert 5 | // Copyright : Ecole des Mines de Nantes (France) 6 | // License : See the LICENSE file 7 | // Created : Nov 27, 2012 8 | // Last Update : Nov 27, 2012 9 | //============================================================================ 10 | 11 | #include "ibex_PdcCleared.h" 12 | #include 13 | 14 | namespace ibex { 15 | 16 | PdcCleared::PdcCleared(Ctc& c) : Pdc(c.nb_var), ctc(c) { 17 | 18 | } 19 | 20 | BoolInterval PdcCleared::test(const IntervalVector& box) { 21 | IntervalVector tmpbox(box); 22 | ctc.contract(tmpbox); 23 | return tmpbox.is_empty() ? YES : MAYBE; 24 | } 25 | 26 | } // end namespace ibex 27 | -------------------------------------------------------------------------------- /src/predicate/ibex_PdcNo.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_PdcNo.cpp 4 | // Author : Jordan Ninin 5 | // Copyright : Ecole des Mines de Nantes (France) 6 | // License : See the LICENSE file 7 | // Created : July 10, 2014 8 | // Last Update : July 10, 2014 9 | //============================================================================ 10 | 11 | 12 | #include "ibex_PdcNo.h" 13 | 14 | namespace ibex { 15 | 16 | PdcNo::PdcNo(int n) : Pdc(n) { 17 | } 18 | 19 | BoolInterval PdcNo::test(const IntervalVector& box) { 20 | return NO; 21 | } 22 | 23 | } // end namespace ibex 24 | -------------------------------------------------------------------------------- /src/predicate/ibex_PdcNot.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_PdcNot.cpp 4 | // Author : Gilles Chabert 5 | // Copyright : Ecole des Mines de Nantes (France) 6 | // License : See the LICENSE file 7 | // Created : Nov 12, 2014 8 | //============================================================================ 9 | 10 | #include "ibex_PdcNot.h" 11 | 12 | namespace ibex { 13 | 14 | PdcNot::PdcNot(Pdc& p) : Pdc(p.nb_var), p(p) { 15 | } 16 | 17 | BoolInterval PdcNot::test(const IntervalVector& box) { 18 | switch(p.test(box)) { 19 | case YES: return NO; 20 | case NO: return YES; 21 | case MAYBE: return MAYBE; 22 | default: return EMPTY_BOOL; 23 | } 24 | } 25 | 26 | } // end namespace ibex 27 | 28 | -------------------------------------------------------------------------------- /src/predicate/ibex_PdcYes.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_PdcYes.cpp 4 | // Author : Jordan Ninin 5 | // Copyright : Ecole des Mines de Nantes (France) 6 | // License : See the LICENSE file 7 | // Created : July 10, 2014 8 | // Last Update : July 10, 2014 9 | //============================================================================ 10 | 11 | 12 | #include "ibex_PdcYes.h" 13 | 14 | namespace ibex { 15 | 16 | PdcYes::PdcYes(int n) : Pdc(n) { 17 | } 18 | 19 | BoolInterval PdcYes::test(const IntervalVector& box) { 20 | return YES; 21 | } 22 | 23 | } // end namespace ibex 24 | -------------------------------------------------------------------------------- /src/set/ibex_SepCtcPair.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_SepCtcPair.cpp 4 | // Author : Gilles Chabert 5 | // Copyright : Ecole des Mines de Nantes (France) 6 | // License : See the LICENSE file 7 | // Created : Oct 17, 2014 8 | //============================================================================ 9 | 10 | #include "ibex_SepCtcPair.h" 11 | #include 12 | 13 | namespace ibex { 14 | 15 | SepCtcPair::SepCtcPair(Ctc& _ctc_in, Ctc& _ctc_out) : Sep(_ctc_in.nb_var), ctc_in(_ctc_in), ctc_out(_ctc_out) { 16 | 17 | } 18 | 19 | void SepCtcPair::separate(IntervalVector& x_in, IntervalVector& x_out) { 20 | 21 | assert(x_in==x_out); 22 | 23 | ctc_out.contract(x_out); 24 | 25 | ctc_in.contract(x_in); 26 | 27 | } 28 | 29 | } // namespace ibex 30 | -------------------------------------------------------------------------------- /src/set/ibex_SepNot.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_SepNot.cpp 4 | // Author : Gilles Chabert 5 | // Copyright : Ecole des Mines de Nantes (France) 6 | // License : See the LICENSE file 7 | // Created : Nov 12, 2014 8 | //============================================================================ 9 | 10 | #include "ibex_SepNot.h" 11 | 12 | namespace ibex { 13 | 14 | SepNot::SepNot(Sep& sep) : Sep(sep.nb_var), sep(sep) { 15 | 16 | } 17 | 18 | void SepNot::separate(IntervalVector& x_in, IntervalVector& x_out) { 19 | sep.separate(x_out,x_in); 20 | } 21 | 22 | } // namespace ibex 23 | -------------------------------------------------------------------------------- /src/set/ibex_SetValueNode.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_SetValueNode.cpp 4 | // Author : Gilles Chabert 5 | // Copyright : Ecole des Mines de Nantes (France) 6 | // License : See the LICENSE file 7 | // Created : May 28, 2015 8 | //============================================================================ 9 | 10 | #include "ibex_SetValueNode.h" 11 | 12 | namespace ibex { 13 | 14 | SetValueNode::SetValueNode(int var, Interval value) : var(var), value(value) { 15 | 16 | } 17 | 18 | SetValueNode::~SetValueNode() { 19 | // TODO Auto-generated destructor stub 20 | } 21 | 22 | } // namespace ibex 23 | -------------------------------------------------------------------------------- /src/set/ibex_SetValueNode.h: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_SetValueNode.h 4 | // Author : Gilles Chabert 5 | // Copyright : Ecole des Mines de Nantes (France) 6 | // License : See the LICENSE file 7 | // Created : May 28, 2015 8 | //============================================================================ 9 | 10 | #ifndef __IBEX_SET_VALUE_NODE_H__ 11 | #define __IBEX_SET_VALUE_NODE_H__ 12 | 13 | 14 | #include "ibex_SetNode.h" 15 | 16 | 17 | namespace ibex { 18 | 19 | class SetValueNode : public SetNode { 20 | public: 21 | 22 | SetValueNode(int var, Interval value); 23 | 24 | virtual ~SetValueNode(); 25 | 26 | int var; 27 | Interval value; 28 | }; 29 | 30 | } // namespace ibex 31 | 32 | #endif // __IBEX_SET_VALUE_NODE_H__ 33 | -------------------------------------------------------------------------------- /src/solver/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # see arithmetic/CMakeLists.txt for comments 2 | 3 | target_sources (ibex PRIVATE 4 | ${CMAKE_CURRENT_SOURCE_DIR}/ibex_DefaultSolver.cpp 5 | ${CMAKE_CURRENT_SOURCE_DIR}/ibex_DefaultSolver.h 6 | ${CMAKE_CURRENT_SOURCE_DIR}/ibex_Solver.cpp 7 | ${CMAKE_CURRENT_SOURCE_DIR}/ibex_Solver.h 8 | ) 9 | 10 | target_include_directories (ibex PUBLIC 11 | "$") 12 | -------------------------------------------------------------------------------- /src/symbolic/ibex_InputNodeMap.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * InputNodeMap.cpp 3 | * 4 | * Created on: Mar 2, 2020 5 | * Author: gilles 6 | */ 7 | 8 | #include 9 | 10 | namespace ibex { 11 | 12 | //InputNodeMap::InputNodeMap() { 13 | // // TODO Auto-generated constructor stub 14 | // 15 | //} 16 | // 17 | //InputNodeMap::~InputNodeMap() { 18 | // // TODO Auto-generated destructor stub 19 | //} 20 | // 21 | // 22 | ////ExprInput::ExprInput(const ExprInput& input) : args(input.args.size()), mutable_csts(input.mutable_csts.size()) { 23 | //// for (int i=0; i 11 | 12 | using namespace std; 13 | 14 | namespace { 15 | 16 | atomic_long id_count(0); 17 | 18 | } 19 | 20 | namespace ibex { 21 | 22 | long next_id() { 23 | return id_count++; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/tools/ibex_Id.h: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : ibex_Id.h 4 | // Author : Gilles Chabert 5 | // Copyright : IMT Atlantique (France) 6 | // License : See the LICENSE file 7 | // Created : Jun 18, 2018 8 | //============================================================================ 9 | 10 | #ifndef __IBEX_ID_H__ 11 | #define __IBEX_ID_H__ 12 | 13 | namespace ibex { 14 | 15 | /** 16 | * \ingroup tools 17 | * 18 | * \brief Generate an identifier. 19 | * 20 | * This function returns a unique number in the 21 | * whole execution of the program. 22 | */ 23 | long next_id(); 24 | 25 | } 26 | 27 | #endif /* __IBEX_ID_H__ */ 28 | -------------------------------------------------------------------------------- /tests/TestKernel.cpp: -------------------------------------------------------------------------------- 1 | //============================================================================ 2 | // I B E X 3 | // File : TestKernel.cpp 4 | // Author : Alexandre Goldsztejn 5 | // Copyright : IMT Atlantique (France) 6 | // License : See the LICENSE file 7 | // Created : Mar 5, 2018 8 | // Last Update : Mar 5, 2018 9 | //============================================================================ 10 | 11 | #include "TestKernel.h" 12 | #include "ibex_Kernel.h" 13 | 14 | using namespace std; 15 | 16 | namespace ibex { 17 | 18 | void TestKernel::test01() { 19 | double a[]={1,2,3,4,5,6}; 20 | Matrix A(2,3,a); 21 | Matrix K=kernel(A); 22 | Matrix B=A*K.transpose(); 23 | CPPUNIT_ASSERT(almost_eq(B,Matrix::zeros(2,1),1e-10)); 24 | } 25 | 26 | } // end namespace ibex 27 | -------------------------------------------------------------------------------- /tests/TestTrace.cpp: -------------------------------------------------------------------------------- 1 | /* ============================================================================ 2 | * I B E X - Operators Tests 3 | * ============================================================================ 4 | * Copyright : IMT Atlantique (FRANCE) 5 | * License : This program can be distributed under the terms of the GNU LGPL. 6 | * See the file COPYING.LESSER. 7 | * 8 | * Author(s) : Gilles Chabert 9 | * Created : Oct 7, 2018 10 | * ---------------------------------------------------------------------------- */ 11 | 12 | #include "TestTrace.h" 13 | #include "ibex_ExprOperators.h" 14 | 15 | using namespace std; 16 | 17 | namespace ibex { 18 | 19 | void TestTrace::eval1() { 20 | Interval x(1,2); 21 | CPPUNIT_ASSERT(sinc(x)==(sin(x)/x)); 22 | } 23 | 24 | } // end namespace 25 | -------------------------------------------------------------------------------- /tests/lp-test-problems/NOTE.txt: -------------------------------------------------------------------------------- 1 | These test problems are taken from http://www.netlib.org/lp/data/index.html, 2 | and decompressed using the emps.c utility given on the website. 3 | Optimal solutions are in http://www.netlib.org/lp/data/readme. -------------------------------------------------------------------------------- /tests/minibex/const08.mbx: -------------------------------------------------------------------------------- 1 | function f(x) 2 | return #3fb999999999999a;end 3 | -------------------------------------------------------------------------------- /tests/minibex/diff_lock.mbx: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | check that expression nodes of constants and temporary symbols 4 | are not destroyed by "diff" 5 | This example should also be checked with valgrind to check 6 | memory leaks. 7 | */ 8 | constants 9 | c=3; 10 | 11 | variables 12 | x,y; 13 | 14 | constraints 15 | tmp=x^2+y; 16 | diff(tmp+c,x)=0; 17 | tmp=c; 18 | end 19 | -------------------------------------------------------------------------------- /tests/minibex/empty.mbx: -------------------------------------------------------------------------------- 1 | variables 2 | x in [-10,10]; 3 | 4 | constraints 5 | end -------------------------------------------------------------------------------- /tests/minibex/issue245_1.mbx: -------------------------------------------------------------------------------- 1 | constants 2 | c=3; 3 | 4 | function f(x,y) 5 | return c*x^2+y^2; 6 | end -------------------------------------------------------------------------------- /tests/minibex/issue245_2.mbx: -------------------------------------------------------------------------------- 1 | c=3; 2 | 3 | Variables 4 | x,y; 5 | 6 | function f(x,y) 7 | return c*x^2+y^2; 8 | end 9 | 10 | constraints 11 | f(x,y)<=c; 12 | end 13 | -------------------------------------------------------------------------------- /tests/minibex/issue245_3.mbx: -------------------------------------------------------------------------------- 1 | constants 2 | c=3; 3 | 4 | Variables 5 | x,y; 6 | 7 | function f(x,y) 8 | return c*x^2+y^2; 9 | end 10 | 11 | constraints 12 | f(x,y)<=c; 13 | end 14 | -------------------------------------------------------------------------------- /tests/minibex/issue365.mbx: -------------------------------------------------------------------------------- 1 | constants 2 | 3 | c=2; 4 | 5 | variables 6 | x; 7 | 8 | 9 | constraints 10 | x*c-c=0; 11 | x*c+c=0; 12 | end 13 | -------------------------------------------------------------------------------- /tests/minibex/issue380.mbx: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x[4] in [-10,10]; 4 | 5 | constraints 6 | x(1)=1; 7 | for i=2:3; 8 | tmp=i; 9 | x(i)=tmp; 10 | end; 11 | tmp=4; 12 | x(4)=tmp; 13 | end 14 | -------------------------------------------------------------------------------- /tests/minibex/issue474.mbx: -------------------------------------------------------------------------------- 1 | constants 2 | delta = 10.0; 3 | 4 | variables 5 | x in [-delta,delta]; 6 | y in [-delta,delta]; 7 | 8 | function f1(x,y) 9 | return x^2+y^2 10 | end 11 | 12 | function f2(x,y) 13 | return (x-y)*f1(x,y) 14 | end 15 | 16 | minimize f2(x,y); 17 | -------------------------------------------------------------------------------- /tests/minibex/mutable_cst.mbx: -------------------------------------------------------------------------------- 1 | constants 2 | * a = 1; 3 | * b[2] = (2;3); 4 | z = 0; 5 | 6 | variables 7 | x in [0,10]; 8 | 9 | constraints 10 | (x-a)*(x-b(1))*(x-b(2))=z; 11 | end 12 | -------------------------------------------------------------------------------- /tests/quimper/error01.qpr: -------------------------------------------------------------------------------- 1 | variables 2 | x[2]; 3 | 4 | // should raise an error: index 0 5 | function y=toto(x[2]) 6 | y = x(0); 7 | end 8 | 9 | constraints 10 | x(1)=toto(x); 11 | end 12 | -------------------------------------------------------------------------------- /tests/quimper/func01.qpr: -------------------------------------------------------------------------------- 1 | 2 | function foo(x2) 3 | return x2; 4 | end 5 | -------------------------------------------------------------------------------- /tests/quimper/func02.qpr: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x1[3],z1[1][3], x2[2]; 4 | 5 | function f1(x2[3]) 6 | return (x2(2);x2(3)); 7 | end 8 | 9 | function f2(x2[3]) 10 | return ((0,1,0);(0,0,1))*x2; 11 | end 12 | 13 | function f3(x2[1][3]) 14 | return ((0,1,0);(0,0,1))*x2'; 15 | end 16 | 17 | constraints 18 | x2=f1(x1); 19 | x2=f2(x1); 20 | x2=f3(x1'); 21 | 22 | x2=f1(z1'); 23 | x2=f2(z1'); 24 | x2=f3(z1); 25 | end 26 | -------------------------------------------------------------------------------- /tests/quimper/func03.qpr: -------------------------------------------------------------------------------- 1 | // 2 | // check that there can be an arbitrary 3 | // number of arguments 4 | // 5 | function f(a,b,c,d,e,f,g,h,i,j) 6 | return a+b+c+d+e+f+g+h+i+j; 7 | end -------------------------------------------------------------------------------- /tests/quimper/loop01.qpr: -------------------------------------------------------------------------------- 1 | Constants 2 | a = 1; 3 | b = 2; 4 | 5 | Variables 6 | x; 7 | 8 | Constraints 9 | for i=1:3; 10 | for j=1:i; 11 | 12 | for k=j:i; 13 | x=a+i+j*k; 14 | end; 15 | 16 | end; 17 | 18 | for j=1:i; 19 | x=i+j-b; 20 | end; 21 | 22 | end; 23 | 24 | end -------------------------------------------------------------------------------- /tests/quimper/unconstrained.qpr: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x,y; 4 | 5 | minimize x+y; -------------------------------------------------------------------------------- /tests/quimper/var01.qpr: -------------------------------------------------------------------------------- 1 | 2 | variables 3 | x; 4 | 5 | constraints 6 | x>=0; 7 | end 8 | --------------------------------------------------------------------------------