code: @Override
  	public BarrierFunction createPhase1BarrierFunction(){
  		
  		final int dimPh1 = dim +1;
  		List<SOCPConstraintParameters> socpConstraintParametersPh1List = new ArrayList<SOCPConstraintParameters>();
   		SOCPLogarithmicBarrier bfPh1 = new SOCPLogarithmicBarrier(socpConstraintParametersPh1List, dimPh1);
   		
   		for(int i=0; i<socpConstraintParametersList.size(); i++){
   			SOCPConstraintParameters param = socpConstraintParametersList.get(i);
   			RealMatrix A = param.getA();
   			RealVector b = param.getB();
   			RealVector c = param.getC();
   			double d = param.getD();
   			
   			RealMatrix APh1 = MatrixUtils.createRealMatrix(A.getRowDimension(), dimPh1);
   			APh1.setSubMatrix(A.getData(), 0, 0); 
  			RealVector bPh1 = b;
  			RealVector cPh1 = new ArrayRealVector(c.getDimension()+1);
  			cPh1.setSubVector(0, c);
  			cPh1.setEntry(c.getDimension(), 1);
  	 		double dPh1 = d;
  	 		
  	 		SOCPConstraintParameters paramsPh1 = new SOCPConstraintParameters(APh1.getData(), bPh1.toArray(), cPh1.toArray(), dPh1);
  	 		socpConstraintParametersPh1List.add(socpConstraintParametersPh1List.size(), paramsPh1);
  		}
  		
  		return bfPh1;
  	}
docs: Create the barrier function for the Phase I.
  It is an instance of this class for the constraints:
  <br>||Ai.x+bi|| < ci.x+di+t, i=1,...,m
  @see "S.Boyd and L.Vandenberghe, Convex Optimization, 11.6.2"