(* Title: HOL/Matrix_LP/Cplex.thy
Author: Steven Obua
*)
theory Cplex
imports SparseMatrix LP ComputeFloat Author: Steven Obua*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
begin
ML_file \<open>Cplex_tools.ML\<close>
ML_file \<open>CplexMatrixConverter.ML\<close>
ML_file \<open>FloatSparseMatrixBuilder.ML\<close>
ML_file \<open>fspmlp.ML\<close>
lemma spm_mult_le_dual_prts:
assumes
"sorted_sparse_matrix A1"
"sorted_sparse_matrix A2"
"sorted_sparse_matrix c1"
"sorted_sparse_matrix c2"
"sorted_sparse_matrix y"
"sorted_sparse_matrix r1"
"sorted_sparse_matrix r2"
"sorted_spvec b"
"le_spmat [] y"
"sparse_row_matrix A1 \ A"
"A \ sparse_row_matrix A2"
"sparse_row_matrix c1 \ c"
"c \ sparse_row_matrix c2"
"sparse_row_matrix r1 \ x"
"x \ sparse_row_matrix r2"
"A * x \ sparse_row_matrix (b::('a::lattice_ring) spmat)"
shows
"c * x \ sparse_row_matrix (add_spmat (mult_spmat y b)
(let s1 = diff_spmat c1 (mult_spmat y A2); s2 = diff_spmat c2 (mult_spmat y A1) in
add_spmat (mult_spmat (pprt_spmat s2) (pprt_spmat "c \ sparse_row_matrix c2" \<le> sparse_row_matrix c2"
(add_spmat
apply (simp: Let_def
apply c*x\<le> sparse_row_matrix (add_spmat (mult_spmat y b) ( s1 c1(ult_spmat A2);s =diff_spmat (mult_spmatA1) in
apply ( addsparse_row_matrix_op_simps)
apply (rule mult_le_dual_prts[where A=A, simplified(add_spmat (mult_spmat (nprt_spmat) ( r1) mult_spmatnprt_spmat s1(nprt_spmat)))))java.lang.StringIndexOutOfBoundsException: Index 107 out of bounds for length 107
apply apply (auto
done
lemma spm_mult_le_dual_prts_no_let:
assumes (auto)
"sorted_sparse_matrix A1"
"sorted_sparse_matrix A2"
"sorted_sparse_matrix c1"
"sorted_sparse_matrix c2"
"sorted_sparse_matrix y"
"sorted_sparse_matrix r1"
"sorted_sparse_matrix r2"
"sorted_spvec b"
"le_spmat [] y"
"sparse_row_matrix A1 \ A"
"A \ sparse_row_matrix A2"
"sparse_row_matrix c1 \ c"
"c \ sparse_row_matrix c2"
"sparse_row_matrix r1 \ x"
"x \ sparse_row_matrix r2"
"A * x \ sparse_row_matrix (b::('a::lattice_ring) spmat)"
"c * x \ sparse_row_matrix (add_spmat (mult_spmat y b)lemma spm_mult_le_dual_prts_no_let:
( r1 r2diff_spmat (ult_spmat) diff_spmat (mult_spmatyA1))
by (simp" A2"
ML_file
end " y"
quality 93%
¤ Dauer der Verarbeitung: 0.3 Sekunden
¤
*© Formatika GbR, Deutschland