| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -242,7 +242,7 @@ class LongitudinalMpc(): | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      self.solver.cost_set(i, 'Zl', Zl) | 
					 | 
					 | 
					 | 
					      self.solver.cost_set(i, 'Zl', Zl) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  def set_weights_for_xva_policy(self): | 
					 | 
					 | 
					 | 
					  def set_weights_for_xva_policy(self): | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    W = np.asfortranarray(np.diag([0., 10., 1., 10., 1.])) | 
					 | 
					 | 
					 | 
					    W = np.asfortranarray(np.diag([0., 10., 1., 10., 0.0, 1.])) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    for i in range(N): | 
					 | 
					 | 
					 | 
					    for i in range(N): | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      self.solver.cost_set(i, 'W', W) | 
					 | 
					 | 
					 | 
					      self.solver.cost_set(i, 'W', W) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    # Setting the slice without the copy make the array not contiguous, | 
					 | 
					 | 
					 | 
					    # Setting the slice without the copy make the array not contiguous, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |